In an up-coming WordPress project, I want the user to click an up/down button which is positioned next to each post. Clicking the button should smoothly scroll the page to the next or previous post on the same page. I’m planning of using jQuery to do it. I think I could probably come up with a script myself. Probably no problems in making the page scroll, but how would I make the scrolling stop when it gets to the next/previous post?
I looked at the jquery plugins page but I didn’t really find what I was looking for. If anyone could point me in the right direction I would be grateful.