摘要:
jquery实现tab停留半秒后,选中菜单、切换tab下的内容:var showHandler=null;function init(){ $("#tab_ul").find("li").each(function(index, ele){ var divId = "#nav"+index; $(ele).mouseover(function(){ //定时器,半秒后执行 showHandler = setTimeout(function(){ //实现操作 }, 500); }).mouseout(function(){ ... 阅读全文