Log in

View Full Version : Resolved How did they do website navigation?



Abbster22
11-17-2010, 04:41 AM
What I mean by how they did the site navigation, I want to know how they created the smooth transition from one part of this website to the next?

Say if you were to enter the page, it starts at the About Me page. When you click on the links, it then goes to the bottom or top of the page in a nice, smooth transition.

Here is the website I'm referring to: http://whoisleon.com/#home

I would like to do something very similar so it's easy for me to update, but change it up a little bit. Any help is appreciated! :)

jscheuer1
11-17-2010, 05:08 AM
http://www.position-absolute.com/articles/better-html-anchor-a-jquery-script-to-slide-the-scrollbar/

jscheuer1
11-17-2010, 06:18 PM
Don't worry about traq's 'wish list', that's about reordering the DOM in addition to a smooth scroll.

For what you asked about, smooth scrolling, this:

http://www.position-absolute.com/articles/better-html-anchor-a-jquery-script-to-slide-the-scrollbar/

is all you need.