The problem for me is that I usually use a "PHP include" for the main navigation and header block of each page (saves updating code on umpteen different pages).
I then use an ID tag for the <body> to tell the menu what the current page is, and use CSS rules to give a different state for the appropriate main menu item.
I suppose its possible to write a Javascript routine that looks for any links on the current page back to itself and then delete those anchor nodes from the DOM (but it makes my
head hurt thinking about what such a script would look like
My question is, how much of a "coding faux pas" is it really in the first place.
This post has been edited by Beavis: 14 July 2008 - 06:34 PM


Help
This topic is locked
MultiQuote















