Stuart Langridge
Stuart Langridge is an information architect for a law firm in the UK. He writes about JavaScript and DHTML, as well as pretty much anything else that catches his attention, at
www.kryogenix.org .
You need to enable JavaScript to view more than 15 articles by this author.
Make Internal Links Scroll Smoothly with JavaScript
Publish Date: Aug. 26, 2005
When users navigate a long document and encounter an internal link that jumps to another location in that same document, it often leads to confusion: are they on the same page, or a different page? Stuart Langridge, author of DHTML Utopia (SitePoint), provides the answer to this problem. Using JavaScript, Stuart shows how to make links scroll through the document to the linked location rather than jumping straight there.