1) there is a separate forum for javascript read the Posting Policy especially #2
MOD PLEASE MOVE THIS THREAD
2) the onclick is like following the link, if you wish to override the onclick then you need to void the follow, however you need the think about accessibility because people without javascript enabled (disabled it, dont support it) will return to the default settings of that element, in this case you are using an anchor tag.
Code:
<a href="url" onclick="something; return false" onmouseover="something else" onmouseout="yet something else">Link</a>
3) making the link appear in the down state is tricky with just javascript. if you have a server-side code it would be much easier to assign the link to be selected.
please remember to read the and post the url to the problematic code / if not live post the code encapsulated in [code] tags
Bookmarks