1
我试图阻止用户在jQuery中滚动时发生mouseenter函数,但无法弄清楚,有什么建议吗?滚动时阻止mouseenter函数
代码:
$(".li").mouseenter(function(){
$(this).children(".work_name").toggleClass("open", 400);
$('.li').mouseleave(function(){
$(this).children(".work_name").removeClass("open", 400);
});
});
完美的作品,非常感谢你! – RoseCoder