开发者

Jquery css opacity - bug in ie8

开发者 https://www.devze.com 2023-03-31 05:13 出处:网络
this $(\"ul.main_navigation li:not(.active)\").children(\"ul\").css({opacity:0}).addClass(\"hover\");

this

$("ul.main_navigation li:not(.active)").children("ul").css({opacity:0}).addClass("hover");

hides some uls in navigation. It works fine in all browsers (including ie 6 and ie 7), but in ie8 it hides the uls, but not it's content.

The structure:

<ul>
<li><a...></a><开发者_如何转开发;/li>
<ul>

The <a> tags are always visible in ie8...

any ideas? thx

0

精彩评论

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