我想写一块Jquery,当用户将鼠标悬停在/悬停在div上时,它将会改变某些内容。jquery悬停错误
但是如果我的动画动漫悬停在悬停关闭div的,关机动画不起作用
$('.boxgrid').hover(function(){
$(".cover", this).stop().delay(1000).animate({top:'80px'},{queue:true,duration:500});
}, function() {
$(".cover").stop().animate({top:'130px'},{queue:false,duration:0});
});
难道我做错了什么?
在此先感谢。
你应该接受一个答案。阅读常见问题在http://stackoverflow.com/faq – bluefoot 2011-03-21 15:54:01