我有一段代碼如下所示:jQuery的 - 動畫功能
$(".tagArea li").mouseover(function(){
$(this).animate({
borderWidth: "2px"
}, 1000);
});
$(".tagArea li").mouseout(function() {
$(this).animate({
borderWidth: "1px"
}, 1000);
});
當我嘗試將鼠標懸停在某個特定列表項,它正確動畫,但不會停止做一次。它繼續做2或3次。
如何避免這種情況,我嘗試了很多次,但沒有出現積極的結果。
請幫忙。
你能提供[** jsFiddle **](http://jsfiddle.net)? –