У меня есть этот код:
var items = jQuery('#main .imgteaser .txtwrap');
items.css("opacity","0.8");
items.mouseenter(function(){
alert('enter');
jQuery(this).animate({
bottom: "0",
opacity: 1,
border: "1px solid #a6a6a6"
}, 500, function(){alert('enter animation ready');});
jQuery(this).addClass('hover');
});
items.mouseleave(function(){
alert('leave');
jQuery(this).animate({
bottom: "-60",
opacity: 0.8,
border: "1px solid #fff"
}, 500, function(){alert('leave animation ready');});
jQuery(this).removeClass('hover');
});
В Firefox это работает хорошо, но в IE7 анимация выхода из jQuery не работает и функция обратного вызова тоже не работает.