Can a LINK know its already at its destination and not work. If I am at a page called MyPage.html, and on that page there is a link to it:
HTML Code:
<a href="../MyPage.html"><img src="../images/MyPage.gif"></a>
is there a way of it being automatically disabled.
The reason for this is because I have some standard navigation that is used on many pages, and i want to avoid changing code for every page its on.
It is fair to say that i am not using a roll-over image, or link text, so i am only trying to do this to stop;
1. pointless page reloading,
2. the impression of a link to somehwere there's not,
Any help appreciated, Simon.
|