Search code examples
jqueryhtmlcsshyperlinktimed

Timed jquery / back to top html css link


I am trying to time my page to jump to different sections on my website. For example, if the user clicks a link saying contact us, it would jump lower down the page to the contact section (the page is a one page design with menu fixed to left). I want a 'timed' method so it scrolls rather than 'jump' appears. I found an example at http://webdesignerwall.com/tutorials/animated-scroll-to-top in jquery, does anybody know of a better tutorial for different parts of the site rather than just back to top?


Solution

  • You can search the web for jquery Scroll to div and you will have results like this

    the demo

    you can Recursively call the function after a certain time (.delay()) with and dynamically change the div name.