<input type="image" name="submit" src="images/login.gif">
How I can make, that when hover mouse on this image, image will change to images/login_hover.gif? Thanks.
At the simplest level you could do something like this:
<input onmouseover="this.src='images/login_hover.gif'" onmouseout="this.src='images/login.gif'" type="image" name="submit" src="images/login.gif">
But it would be neater to do it unobtrusively so I'll move this to the js forum so someone else can answer.:)
This topic is now closed. New replies are no longer allowed.