Hi all
I have a link which opens up a new window, which works fine
What I need to do is when the user clicks on the link, change the colour of the text and then return it back to the previous style. The link also need to change colour when the mouse moves over the link. (ie 3 colours)
Does any one know how I stop the link from staying the colour I have set it, once I have used the onclick command?
This is what I have so far :
I have a link which opens up a new window, which works fine
Does any one know how I stop the link from staying the colour I have set it, once I have used the onclick command?
This is what I have so far :
Code:
<a class='jumphover' onClick='this.style.color="red";
window.open("/jsp/help.jsp?help=allo", "help", "width=500,height=600 scrollbars=yes,resizable=yes,location=no")'
onMouseOver="this.className='jumpover'"
onMouseOut="this.className='jumphover'" >< help ></a>