Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visiting a specific part of a page using a link on the same page

Status
Not open for further replies.

aneal

Programmer
Sep 3, 2000
2
US
how do you visit a specific part of a page using a link on the same page?
 
that is not javascript, but just plain HTML

that is called a dynamic anchor. where you want the link to point simply put:
<a name=&quot;top&quot;> </a>

where top is the name of the anchor.

To point to it, use:
<a href=&quot;#top&quot;>go to top</a>

the hash indicates that it is on the same page.

i hope this is of some use to you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top