> > I avoid using scrollTo because I wanna have #about in the url so that > > i can refer to specific part of my page. > > So I didn't use scrollTo plugin but using the mothed posted from here: > >http://www.zachstronaut.com/posts/2009/01/18/jquery-smooth-scroll-bug...
You can keep the hash (#about) in the url and even react to it on page load, automatically. You need to use localScroll[1], which is a wrapper for the aforementioned scrollTo. When the option 'hash' is set to true, it'll update the hash as it'd normally do. [1]http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html Cheers -- Ariel Flesler http://flesler.blogspot.com