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!

Eliminate location variable at end of url

Status
Not open for further replies.

evergreean43

Technical User
May 25, 2006
165
US
I have go to location link on my web page and was wondering how I can eliminate the tag variable
showing up on the end of the url after hitting the go to location link?

If I hit the link: Go to Here Location it takes me to the correct location on my page but also changes my url from:
to:


Code:
<a href="#goToLocationLink">Go to Here Location</a>
<a name="goToLocationLink"></a>

Anyway to eliminate the variable showing up at the end of my link so it looks like this after using the Go to Here Location link:

Please advise how I can do this?
 
Anyway to eliminate the variable showing up at the end of my link...
Nope. Unless you considered using a frameset and targetted the frame directly (which I do not recommend as a viable reason to use frames).

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top