New Zenner
- Join Date:
- May 2010
- Posts:
- 15
- Plugin Contributions:
- 0
navbar/mouseover make a link stay highlighted when its clicked
Please help been trying to figure this out for like 1week and been searching all forum all day, noone seems to know how to do it :S gaah
I have 4 buttons - Home, New Products... etc.
I want a mouse over so that when i mouse over the Home button, the button changes color/image and when i MouseOut, it goes back to the original color/image.
Also when the link is clicked and the page loads, I would like the link/image to stay highlighted so that the visitor knows which page he/she is on.
Thanks,
I have managed to do the mouse over and mouse out but not to make it stay highlighted with this code:
<style type="text/css">
A#vbUL_ohs16a{display:none}
</style>
<table id="vista-buttons_com_idohs16" width="0" cellpadding="0" cellspacing="0" border="0"><tr>
<td style="padding-left:0px" title =""><a href="index.php?main_page" onmouseover='xpe("ohs16o");' onmouseout='xpe("ohs16n");' onmousedown='xpe("ohs16c");'><img id="xpi_ohs16" src="hm-files/btohs16_0.png" name="vbohs16" border="0" alt="Home" /></a></td>
<script type="text/javascript"> var vbImgPath="hm-files/"</script>
<script type="text/javascript" src="hm-files/scohs16.js"></script>
Really appreciate any help... <3