WouterBos/Ono-List-Pager — Issue #2: Auto-scroll to top of page
Author: atomic-bot
Created: 2011-10-25 16:23:58+00:00
State: open

Is it possible to have onopager auto-scroll to the top of a new page after it slides? I have a quiz script that I wrote that uses onopager to separate the quiz sections into different pages; I would love to have it slide up to the top of the next page after the user clicks the next page button. I could do this with a javascript scroll(0,0) function if there's a way to hook it after clicking the next button.

Great pager, by the way - has a great balance between having a plethora of features but being easy to setup.