jQuery FadeIn, FadeOut Div - IE7 bug

Posted by user1058223 on Stack Overflow See other posts from Stack Overflow or by user1058223
Published on 2011-11-21T16:56:03Z Indexed on 2011/11/21 17:50 UTC
Read the original article Hit count: 249

Filed under:
|

I have a div that will fade in and out on hover in FF, but in IE7 it just hides and shows with no animation. Here is my code:

#nav-buttons {
    display:none;
    width:894px;
    position:relative;
    z-index:1000;
}

----------
<div id="contents">
<div id="nav-buttons">
    <a href="javascript:void(0)" id="left-button"></a>
    <a href="javascript:void(0)" id="right-button"></a>
</div>
 other html....
</div>

----------

$(document).ready(function() {                  
    $("#contents").hover(function() {
        $("#nav-buttons").fadeToggle("slow");
    });
});

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about internet-explorer-7