using jQuery and the scrollTo function, is it possible to scroll a certain amount of pixels each time you press a button?
I can already scroll a set amount from the top each time the button is pressed, however I want to keep scrolling everytime the button is pressed.
Note: If you’re using jQuery < 1.7, use
.bindinstead of.on.You should also cache those selectors…