Hello,

I have the below code. I am trying to highlight the link when i click a link. it works fine when i hover over the link. But it does not work when i release the mouse. I want the link name to be highlighted as long as i am on the page.

Please advise.



HTML Code:
<html>
<style>
a {
    background-color:#00f;
}
a:hover,a.current {
    background-color:#f00;
}
</style>

 
<body> 
<ul id="navigation">
<li><a href="highlightLink.php">Home Page</a></li>
    <li><a class="current" href="highlightLink.php">About Me</a></li>

</ul>

</body>
 
</html>