How do I simulate a scrollbar click with jQuery?

Posted by Ian Davis on Stack Overflow See other posts from Stack Overflow or by Ian Davis
Published on 2010-04-29T11:37:19Z Indexed on 2010/04/29 11:47 UTC
Read the original article Hit count: 224

Filed under:

How do I simulate a scrollbar click with jQuery? So, if a user clicks on a div that says "scroll down," it'll be the exact same behavior as if he/she clicked on the down arrow of the browser's scrollbar. Using the current browser's behavior would be optimal, vs. doing something like $.browser.scrolldown(200,'fast').

Something like $.browser.triggerDownArrowOnScrollBar() would be sweet!

© Stack Overflow or respective owner

Related posts about jQuery