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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

named anchors

Status
Not open for further replies.

bch33

Technical User
Oct 13, 2001
151
0
0
US
I'm setting an anchor point at a particular section of the page in one of my site files. Then when I go back to the original file and enter " tour.html#hawaii" in the link area (I want it to go to a particular section of that page so Hawaii is where I put the anchor on the tour.html page)) but it just takes me to the top of the page of my anchored file instead of the particular section within the page.
Am I missing a step?
Hope this makes sense
Thanks
bch
 
Try doing this:

Put the anchor where you want it.
<A NAME=&quot;cool&quot;></A> -----The anchor name

use a link (if this is same page or file) to reference it:
<A HREF=&quot;#cool&quot;>To the Cool Section of this page</A> -----Linking to the named section

Inform if it works.
 
Thanks much- that works perfectly--it doesn't work with a hotspot though only a selected link. I was trying it on a hotspot and for some reason placing the <A HREF=&quot;#cool&quot;> in the hotspot property box only takes you to the file and not to a place in the file. Guess there's no way around that.
Thanks again
bch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top