摘要: function mousewheelHandler(e){ var delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail))); console.log(delta > 0 ? "向上滚动" : "向下滚动"); } //for F 阅读全文
posted @ 2016-09-30 11:06 lanyan 阅读(1333) 评论(0) 推荐(0) 编辑
摘要: http://www.ovaldi.org/2015/09/11/%E4%BB%A5%E5%85%A8%E5%B1%80%E7%9B%91%E5%90%AC%E7%9A%84%E6%96%B9%E5%BC%8F%E5%A4%84%E7%90%86img%E7%9A%84error%E4%BA%8B% 阅读全文
posted @ 2016-09-30 11:05 lanyan 阅读(4235) 评论(0) 推荐(0) 编辑