jQuery的淡入/淡出IE的问题 - 令人沮丧 [英] jquery fadeIn/Out IE problem - frustrating
问题描述
请请帮助我的人,我失去了我的脑海。
please please help me someone, i am losing my mind.
我有绝对/相对(都试过)定位的div所有类箱。在点击我想的div淡出那么,正确的淡入在所有浏览器工作正常,除了IE 6和IE 7(有时8)。他们淡出,但没有消失回来。找遍了整个网为这种类型的问题,但没有帮助。请请帮助。
i have absolute/relative (tried both) positioned divs all with class of box. on click i want the divs to fade out then the correct one fade in. works fine in all browsers apart from IE 6 and 7 (sometimes 8). they fade out but nothing fades back in. looked all over the net for this type of problem but none help. Please please help.
这是code
$("li#about").click(function(){
$box.fadeOut(200);
$("div#about").delay(800).fadeIn(800);
});
$("li#portfolio").click(function(){
$box.fadeOut(200);
$("div#portfolio").delay(800).fadeIn(800);
});
等......
etc......
我在想什么?演示在这里 - !死链接
what am i missing? demo here - dead link!
推荐答案
如果我正确地读这篇文章,你有相同的ID多个HTML标签,即使它们是不同类型的标签?例如,Li#约和DIV#约。也许如果他们有唯一ID的Internet Explorer将preFER?
If I'm reading this correctly, do you have multiple HTML tags with the same ID, even though they're different types of tags? For example, li#about and div#about. Maybe Internet Explorer would prefer if they had unique IDs?
这篇关于jQuery的淡入/淡出IE的问题 - 令人沮丧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!