Jquery に遅延を追加して、マウスが div id=test を離れると、3000 ミリ秒待機してから閉じるようにしようとしています。しかし、それは機能していないようですか?
Jquery 1.6.min を使用しています
あなたの助けとコードスニペットを前もってありがとう
$("#test").hover(function() {
$(this).css({'z-index' : '10'});
$(this).addClass("hover").stop()
.animate({
height: '60px'
}, 1500);
} , function() {
$(this).css({'z-index' : '0'});
$(this).delay(3000);
$(this).removeClass("hover").stop()
.animate({
height: '20px'
}, 1500);
});