Forums
View unanswered posts | View active topics It is currently Tue Dec 12, 2017 7:46 pm



Reply to topic  [ 1 post ] 
 [png-fix] jQuery fadeIn/fadeOut issue in IE7-IE8 
Author Message

Joined: Sat Sep 17, 2011 1:10 am
Posts: 1
Post [png-fix] jQuery fadeIn/fadeOut issue in IE7-IE8
Hello PIE users,

I'm experiencing an issue with PIE 1.0b5.
I try to show a pause indicator in a slider on a mouseover event. This indicator is a png image, with display set to none, and a jQuery fadeIn / fadeOut function call to hide / show the image.

The problem is that a black border appears around my indicator during about a quarter second, then it renders normally.
I've taken 2 snapshots to illustrate my issue :
Attachment:
File comment: The png with the black border
snap1.jpg [15.33 KiB]
Not downloaded yet


Attachment:
File comment: the png rendered normally after the border appears
snap2.jpg [14.83 KiB]
Not downloaded yet


Here's my code for that :

CSS file :
Code:
#slider #play, #slider #pause{
   position: absolute;
   width: 40px;
   height: 40px;
   bottom: 5px;
   right: 5px;
   display: none;
}


js file :

Code:
$("#slider").hover(function(){
      $("#play").fadeOut();
      $("#pause").fadeIn();
      clearInterval(holdTheInterval);
      },
      function(){
         holdTheInterval = setInterval(defilementAuto,8000);
         $("#pause").fadeOut();
         $("#play").fadeIn().delay(500).fadeOut();
      });


and the html file :

Code:
<div id="slider">
[....]
<div id="play"><img src="img/play.png" /></div>
<div id="pause"><img src="img/pause.png" /></div>
</div>



If anyone have experienced the same, or anyone can help, thank you for answering.

SYS ;)


Sun Sep 18, 2011 11:55 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.