Forums

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

Home Forums JavaScript Smooth Scroll broken?

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

    Hey guys, for a website I’m creating, I’m making one div scrollable, and another div contain the controls to slide to different H tags. But the script I’m using seems a bit broken, and requires you to go back the top H tag before you can get to the one you wanted. Without doing this, it just scrolls to any random place in the div. Any ideas? I’m not a JS coder as you can tell.

    Link to the website is here: http://www.aplprofessional.co.uk/aca/index.html

    & don’t worry about the looks, it’s in very early stages of development and I like to do my pages 1 by 1.. this is the second page! Thanks

    #76299
    Chris Coyier
    Keymaster

    Have you checked this out: http://jqueryfordesigners.com/scroll-linked-navigation/

    Remy does a good job of explaining that from scratch.

    #76302
    alexbass
    Participant

    Yeah I have seen it in the past, would it be easy to implement the script I’m currently using to add a sliding effect? Thanks :)

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