Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript vertical post scroller

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25708
    aicos
    Participant

    Hi

    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.

    Aicos

    #61989
    aicos
    Participant

    Just found this..

    http://plugins.jquery.com/project/smooth_anchors

    Not exactly what I need, but definitely a good starting point.

    #61998
    aicos
    Participant

    Even better. I have a couple of options now. Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.