私はこのコードを持っています:
$(document).ready(function(){
$('.first').mouseenter(function(){
$(this).animate({
top: '115px'
}, 500 );
});
$('.first').mouseleave(function(){
$(this).animate({
top: '127px'
}, 500 );
});
});
そして、それを実行すると、.first divが少なくとも2回上下しますが、それ以上ではないのですが、なぜそうなるのかわかりません。
ありがとう