02 2014 档案
jquery实现停留半秒后再选择
摘要: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 阅读(499) 评论(0) 推荐(0)
spring3.1的BeanFactory与Quartz1.8整合
摘要:spring的applicationContext.xml配置文件:加入 com.job.Service 0 0 1 * * ? quartz与spring的BeanFactory整合的类:/** * 为定时器提供自动注入功能 */public class JobFactory extends SpringBeanJobFactory implements ApplicationContextAware { private ApplicationContext applicationC... 阅读全文
posted @ 2014-02-11 11:25 zhaofeng555 阅读(345) 评论(0) 推荐(0)