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

Named anchor anomoly

Status
Not open for further replies.

ralphonzo

Programmer
Apr 9, 2003
228
0
0
GB
This is crazy. I have a named anchor that works in an index.php page with every include file but one. The link is at the top of the page, the include file renders to the middle, and the anchor is in the footer. Even when I replace the include file with one that works it fails. In desperation, I changed the GET query identifier from '1' to '3' and it worked for a couple of days, then it stopped. I put the id back to '1' and it worked again, only to stop again a couple of days later.

Has anyone else experienced this? Am I going mad??
 
No idea, do we get to see code or a URI?

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Hi

This is not HTML related issue. If you turn off JavaScript the Contact link works fine. Apparently JavaScript set an [tt]onclick[/tt] handler on that link which calls [tt]preventDefault()[/tt] so the link's default behavior gets stopped.

So this question is more suitable for forum216.


Feherke.
[link feherke.github.com/][/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top