我希望当我悬停缓动工作,但它不起作用:/有没有解决方案来解决它?随着时间的推移easeOutQuint 600例如宽松..悬停缓动jQuery
$(function(){
$(".wrapholder").hover(function(){
$(".wrap").stop().animate({top:"-320px"},{duration:300}, {easeOutQuint});
}, function() {
$(".wrap").stop().animate({top:"0px"},{duration:300}, {easeOutQuint});
});
});
'{easeOutQuint}'不是正确的语法。 –