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

showing active link with image swap

Status
Not open for further replies.

PaddyWho

Programmer
May 8, 2002
6
GB
I'm coding a menu navigation and want to have a chevron pointing at the active link. Is there a simple way (or a complex one!) of doing this, as I've not seen many sites who do so.

It's not a mouseover event I need, but an image swap that references the active (or even Clicked) link in the nav. Thereby indicating the active section to the user.

Any ideas?
 
Name your image elements on the page with the same name as the pages. Then, after the page loads, check to see what the page name is (without the extension) and swap the image to the appropriate one using that name.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top