View Single Post
  #2 (permalink)  
Old July 28th, 2005, 08:07 AM
pgtips pgtips is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

that's exactly what named anchors are for. just add #sectionName at the end of the link and it will scroll to that, providing the anchor has been defined.

For example, if page2.html contains <a name="Section2">
then in another page you can put <a href="page2.html#Section2">