Reputation: 10325
This is a two part question. I building a web page and I need to know:
To be clear, I'm not asking how to turn off smooth scrolling for the whole computer. I am the developer developing a web page that will only work properly if smooth scrolling is disabled.
Upvotes: 3
Views: 606
Reputation: 492
I'm just chirping in here 5 years later...
You can remove smooth scrolling in IE if you manually override the event yourself.
if(navigator.userAgent.match(/Trident\/7\./)) {
$('body').on("mousewheel", function () {
event.preventDefault();
var wd = event.wheelDelta;
var csp = window.pageYOffset;
window.scrollTo(0, csp - wd);
});
}
This was sufficient for me to resolve my IE smooth scrolling issues. Blatantly stolen from Here
Upvotes: 1