![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
Z963630220
这个作者很懒,什么都没留下…
展开
-
js 常用
鼠标向下滚动动态加载内容:[url]http://www.cnblogs.com/top5/archive/2012/07/26/2609913.html[/url] 本文章所提到的均为常用的js方法 1、判断即将打开页面是否为首页,不是的话就做为首页打开 var url = 'http://www.baidu.com'; if(top.location !...原创 2012-09-27 11:11:03 · 92 阅读 · 0 评论 -
js 日期操作
引用:[url][b]http://www.cnblogs.com/diulela/archive/2012/04/18/2455264.html[/b] [/url] JS日期操作 // 增加天 function AddDays(date,value) { date.setDate(date.getDate()+value); } // 增加月 funct...原创 2015-04-01 11:17:55 · 282 阅读 · 0 评论 -
js
touchEnd 事件存在兼容性问题,在4.0.X的机器,如果touchMove触发了,就不会触发thoucEnd... 要在 touchmove加上 event.preventDefault();原创 2014-11-12 16:18:51 · 131 阅读 · 0 评论