鼠标滚动事件

var e=window.event;
delta=e.wheelDelta ? e.wheelDelta / 120 : -e.detail / 3;

原文地址:https://www.cnblogs.com/bobogoodgoodstudy/p/4190313.html