I don't... that's what scrollbars are for!
I know you want an actual answer, not a lecture. Look at the "scrollTo" method, that should get you started.
However, consider that you are replicating a function that already exists and that users expect. When you take away something that a user expects, and replace it with something that isn't immediately obvious or more useful, you create a negative user experience.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37