run in this way,   no why,   only for you heart
CSDN博客(点击进入) CSDN
51CTO(点击进入) 51CTO
摘要: 不同浏览器存在差异,鼠标滚轮事件在各个浏览器中绑定事件如下: IE Chrome Opera Safari浏览器的注册事件:window.onmousewheel = document.onmousewheel = scrollFunc; //sc... 阅读全文
posted @ 2018-08-09 17:26 _小龙人 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 在js中if条件为null/undefined/0/NaN/""表达式时,统统被解释为false,此外均为true。官方原文如下:Boolean 表达式一个值为 true 或者 false 的表达式。如果需要,非 Boolean 表达式也可以被转换为 Boo... 阅读全文
posted @ 2018-08-09 15:55 _小龙人 阅读(532) 评论(0) 推荐(0) 编辑