jQuery show/hide does not work on IE

Posted by user1720534 on Stack Overflow See other posts from Stack Overflow or by user1720534
Published on 2012-10-04T15:31:44Z Indexed on 2012/10/04 15:37 UTC
Read the original article Hit count: 296

Filed under:
|
|

I have made simple jQuery script that should show div element when hovering mouse over another div (image).

Here is my code:

jQuery(document).ready(function(){
    jQuery("#slider").hover(function(){
        jQuery("#slider .hovercontent").fadeTo('fast', 1);
    },function(){
        jQuery('#slider .hovercontent').fadeTo('slow', 0);
    });
});

Here is url for page: http://asiakas.henripylvas.com/henripylvas/

This works flawless on FF, Chrome, Safari and Opera but when using IE8 or 9 image in #slider div disappear. What is wrong? Tried to search answer for this but no luck. Thanks.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about show