开发者

jQuery simple fade functions not running smooth in IE

开发者 https://www.devze.com 2023-02-08 13:33 出处:网络
I\'开发者_C百科ve got a correctly working website, which runs very smooth in FF and Chrome, but IE shows the fadeIn and fadeOut not fluently, but it flickers...

I'开发者_C百科ve got a correctly working website, which runs very smooth in FF and Chrome, but IE shows the fadeIn and fadeOut not fluently, but it flickers... Is there a solution for this? I have a bgstretcher on the background, maybe this is making it too heavy for IE? Thanks in advance, Wouter


IE Doesnt support opacity. thats a common problem, its uses filters. there is no way to run this smoothly in IE.

or in its real name. Internet Exploader.


Kind of a kludge, but it gets around the problem:

if (jQuery.support.opacity) {
    x.fadeIn(100);
}
else {
    x.show();
}
0

精彩评论

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