2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > 下拉菜单 防鼠标反复触发

下拉菜单 防鼠标反复触发

时间:2019-08-11 02:27:21

相关推荐

下拉菜单 防鼠标反复触发

$(function(){

var timeId = null;

$('.thisMan').mouseenter(function(){

var _this = $(this);

timeId = setTimeout(function(){

_this.find('.showcotent').slideDown(100);

},300);

}).mouseleave(function(){

clearTimeout(timeId);

$(this).find('.showcotent').slideUp(100);

})

})

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。