function disabledMouseWheel() {ide
if (document.addEventListener) {spa
document.addEventListener('DOMMouseScroll', scrollFunc, false);orm
}//W3Cit
window. = document. = scrollFunc;//IE/Opera/Chromeio
}event
function scrollFunc(evt) {function
evt = evt || window.event;class
if (evt.preventDefault) {List
// Firefoxscroll
evt.preventDefault();
evt.stopPropagation();
} else {
// IE
evt.cancelBubble = true;
evt.returnValue = false;
}
return false;
}
window.onload=disabledMouseWheel;