lauthiamkok
12-13-2009, 03:19 AM
Hi,
Does anyone know why IE does not fade in the image with animate() like firefox does?
here is my jquery code,
$(document).ready(function(){
$("#supersize").css({
opacity: '.0',
filter: 'alpha(opacity=0)'
});
$("#supersize").animate({
opacity: '1.0',
filter: 'alpha(opacity=100)'
}, 1500);
});
html,
<div id="supersize">
<ul>
<li class="active" href="#"><img src="img_content/large/bg_01.jpg" alt="background"/></li>
</ul>
</div>
Here is the link to see the page,
http://lauthiamkok.net/tmp/jquery/animate/
Many thanks if you have any idea...
Cheers,
Lau
Does anyone know why IE does not fade in the image with animate() like firefox does?
here is my jquery code,
$(document).ready(function(){
$("#supersize").css({
opacity: '.0',
filter: 'alpha(opacity=0)'
});
$("#supersize").animate({
opacity: '1.0',
filter: 'alpha(opacity=100)'
}, 1500);
});
html,
<div id="supersize">
<ul>
<li class="active" href="#"><img src="img_content/large/bg_01.jpg" alt="background"/></li>
</ul>
</div>
Here is the link to see the page,
http://lauthiamkok.net/tmp/jquery/animate/
Many thanks if you have any idea...
Cheers,
Lau