jQuery show/hide does not work on IE
- by user1720534
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.