a
%3Cbr%20/%3E%20%28function%28%24%29%7B%3Cbr%20/%3E%20%24.fn.hoverDelay%20%3D%20function%28options%29%7B%3Cbr%20/%3E%20var%20defaults%20%3D%20%7B%3Cbr%20/%3E%20hoverDuring%3A%20600%2C%3Cbr%20/%3E%20outDuring%3A%20600%2C%3Cbr%20/%3E%20hoverEvent%3A%20function%28%29%7B%3Cbr%20/%3E%20%24.noop%28%29%3B%3Cbr%20/%3E%20%7D%2C%3Cbr%20/%3E%20outEvent%3A%20function%28%29%7B%3Cbr%20/%3E%20%24.noop%28%29%3B%3Cbr%20/%3E%20%7D%3Cbr%20/%3E%20%7D%3B%3Cbr%20/%3E%20var%20sets%20%3D%20%24.extend%28defaults%2Coptions%20%7C%7C%20%7B%7D%29%3B%3Cbr%20/%3E%20var%20hoverTimer%2C%20outTimer%3B%3Cbr%20/%3E%20return%20%24%28this%29.each%28function%28%29%7B%3Cbr%20/%3E%20%24%28this%29.hover%28function%28%29%7B%3Cbr%20/%3E%20clearTimeout%28outTimer%29%3B%3Cbr%20/%3E%20hoverTimer%20%3D%20setTimeout%28sets.hoverEvent%2C%20sets.hoverDuring%29%3B%3Cbr%20/%3E%20%7D%2Cfunction%28%29%7B%3Cbr%20/%3E%20clearTimeout%28hoverTimer%29%3B%3Cbr%20/%3E%20outTimer%20%3D%20setTimeout%28sets.outEvent%2C%20sets.outDuring%29%3B%3Cbr%20/%3E%20%7D%29%3B%3Cbr%20/%3E%20%7D%29%3B%3Cbr%20/%3E%20%7D%3Cbr%20/%3E%20%7D%29%28jQuery%29%3B%3Cbr%20/%3E%20%3Cbr%20/%3E%20%24%28%22%23test%22%29.hoverDelay%28%7B%3Cbr%20/%3E%20hoverDuring%3A%20600%2C%3Cbr%20/%3E%20outDuring%3A%20600%2C%3Cbr%20/%3E%20hoverEvent%3A%20function%28%29%7B%3Cbr%20/%3E%20%24%28%22%23tm%22%29.show%28%29%3B%3Cbr%20/%3E%20%7D%2C%3Cbr%20/%3E%20outEvent%3A%20function%28%29%7B%3Cbr%20/%3E%20%24%28%22%23tm%22%29.hide%28%29%3B%3Cbr%20/%3E%20%7D%3Cbr%20/%3E%20%7D%29%3B%3Cbr%20/%3E%20
创新新互联,凭借10余年的成都做网站、网站制作经验,本着真心·诚心服务的企业理念服务于成都中小企业设计网站有上1000+案例。做网站建设,选创新互联。
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
文章标题:jQuery鼠标经过(hover)事件的延时处理-创新互联
文章链接:
http://kswsj.cn/article/djddgo.html