- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › JavaScript animated scroll down
Hi,
I have noticed on some peoples sites that when you click a link your browser (smoothly) scrolls down to that link! I have not yet found a simple way of doing it but have always wanted to know how it was done/how to do it!
Anyone know of a good site or have some advice on how to do it?
Thanks for any help you post
Regards
This was most probably done using some javascript library, such as jQuery, Mootools or Prototype.
Are you familiar with any of them? Cause that would certainly help..
If not: try to look for some snippets on sites like dynamicdrive.com , they are not bound to a javascript library.
Thanks, I also do use jQuery a bit
Okay. There’s this plugin called scrollTo, it’s a jQuery plugin. See the demo and the project page for more info, I think that’s what you’re looking for.
PERFECT! That was just what I was looking for! :)
Thanks for your help!