42
rated 0 times
[
44]
[
2]
/ answers: 1 / hits: 90546
/ 11 Years ago, sun, may 19, 2013, 12:00:00
I want to disable scrolling for my webpage, but completely, not just disable scrollbars so
overflow: hidden
will not work.
Also this workaround does not apply on Macs due to the soft-scroll on edges. It will show a terrible shaky animation:
window.onscroll = function () {
window.scrollTo(0,0);
}
Is there any other method to disable scrolling completely?
More From » html