2014年2月25日
摘要: 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(){ ... 阅读全文
posted @ 2014-02-25 11:23 zhaofeng555 阅读(488) 评论(0) 推荐(0) 编辑