标签:http java art javascript html cti
不多说,直接上代码。
//非ie document.body.onmousewheel = function(event) { event = event || window.event; console.dir(event); }; //firefox document.body.addEventListener("DOMMouseScroll", function(event) { console.dir(event); });
更详细的鼠标滚轮事件请参考
1 http://www.adomas.org/javascript-mouse-wheel/
2 http://www.zhangxinxu.com/wordpress/2013/04/js-mousewheel-dommousescroll-event/ 【总结的非常好】
标签:http java art javascript html cti
原文地址:http://www.cnblogs.com/javaee6/p/3817243.html