hover设定触发时间间隔

500毫秒执行一次

 $(".banner_menu_content li a").hover(function(){
        var aa=$(this).text().trim();  
    	setTimeout(function(){             
        requirementlist(aa.substring(aa.length-1,aa.length));       
        //这里触发hover事件
    	},500);
	},function(){
    
        });	

  

posted @ 2017-03-10 21:57  非非是  阅读(1999)  评论(0编辑  收藏  举报