开发者

jQuery fadeOut() on Divs with Background Color in IE

I have a开发者_Go百科 Javascript function that fades out a standard div with a background color using jQuery fadeOut(). It works fine in Chrome & Firefox but when I try it in IE, the text fades out but the background color remains the same and just disappears without fading out once the text fade has finished. Does anyone have a solution for this problem?

Thanks,

DLiKS


Try removing the clearType filter that IE applies:

$('#fadingElement').fadeIn(2000, function(){
    $(this).css('filter','');
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜