【发布时间】:2014-05-11 14:39:19
【问题描述】:
我的脚本:
$(window).load(function(){
$(".inner").hover( function (e) {
$(this).find(".info").stop().fadeIn(410);
}, function() {
$(this).find(".info").stop().fadeOut(410);
});
});
当我将鼠标悬停在 div .inner 上时,它会播放动画,但当我快速将鼠标移出并再次移入时,它会停在我鼠标移出的地方,以使其更容易。
http://www.sakesalverda.nl/projects/ 并将鼠标悬停在网站图像上,然后快速将鼠标移出并再次悬停该网站的图像,您会看到它不会完全制作动画
【问题讨论】:
标签: javascript jquery html hover