I have an inline div with hover() function attached to it.
It works fine in FF, Chrome.
The issue is on IE, first time it works the second time I go over the div nothing.
HTML:
<div id="mini-cart-li" class="">
<a class="heading" href="http://mb.local.com/checkout/cart/" title="View contents of your shopping cart">My Cart
</a>
<div id="mini-cart-content" class="block block-cart block-content" style="display: none;">
BLA BLA BLA BLA BLA ....
</div>
</div>
JS:
jQuery(document).ready(function () {
jQuery("#mini-cart-li").hover(
function () {
// jQuery(this).addClass('hover');
jQuery("#mini-cart-content").stop(true, true).animate({opacity: "show", display: "block"}, "slow");
},
function () {
// jQuery(this).removeClass('hover');
jQuery("#mini-cart-content").stop(true, true).animate({opacity: "hide", display: "none"}, "slow");
}
)
});