Home › Forums › JavaScript › Disable mousewheel events › Reply To: Disable mousewheel events
May 17, 2016 at 9:41 am
#241800
Participant
That’s not really cross browser compatible (and .bind
a bit old), I’d go with :
$(window).on('wheel', function() {
return false;
});
Or for deeper browser support :
$(window).on('mousewheel DOMMouseScroll', function() {
return false;
});