| Author |
question regarding prevent default
|
simon tiberius
Greenhorn
Joined: Oct 30, 2012
Posts: 29
|
|
but when moving the scrollbar, the page still moves. how to stop the default behavior? thanks
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
You can not cancel the scrolling of the page.
You can force the window to be at a certain location, by setting scrollTop inside of that function, but it will be jittery.
Eric
|
 |
 |
|
|
subject: question regarding prevent default
|
|
|