[courier new]
<img src ="something.gif" onMouseOver ="this.src='something_else.gif';" onMouseOut ="this.src='something.gif';">
[/courier new]
and to preload the image(s)
[courier new]
var image1 = new Image(); image1.src = "image1.gif";
var image2 = new Image(); image1.src = "image2.gif";
var image3 = new Image(); image1.src = "image3.gif";
[/courier new]
since that's repetitive code, if you're doing more than just a few, you should use a loop, but that's digressing too far i think
i hope that's what you wanted
Enter your message below
Sign in or Join us (it's free).