I have the text "site" and right of it "img_1.gif" .
I currently have it setup (through CSS) so that once the mouse hovers "site" it changes color. However to change the "img_1.gif" to "img_2.gif" you must hover the mouse over the .gif.
I would like it setup so that hovering over "site" will also change the image from "img_1.gif" to "img_2.gif" without having to use CSS.
Any help would be greatly appreciated.
I currently have it setup (through CSS) so that once the mouse hovers "site" it changes color. However to change the "img_1.gif" to "img_2.gif" you must hover the mouse over the .gif.
I would like it setup so that hovering over "site" will also change the image from "img_1.gif" to "img_2.gif" without having to use CSS.
Any help would be greatly appreciated.
Code:
<a href="site.html"> site <img src="img_1.gif" onmouseover="this.src='img_2.gif'" onmouseout="this.src='img_1.gif'" /> </a>
Comment