I was going to put this programming, but this is scripting so I'll put it here.
I want to several jpegs on a page, and when the user's mouse point goes over an image, that image will change to a different image. However the problem I'm having is when a hover over the second picture, the first image changes to the picture the second one was supposed to change to, and the second one doesn't change. Here is the code i'm using
Code:
<A HREF="http://site-to-link-to.com/pictures1/index.html"
onMouseOver="document.images.animate.src='picture1.gif';
return true"
onMouseOut="document.images.animate.src='picture1.jpg'">
<IMG SRC="picture1.jpg" WIDTH="90" HEIGHT="90"
HSPACE="0" VSPACE="0" BORDER="0" ALIGN=LEFT
NAME="animate">
</a>
<A HREF="http://site-to-link-to.com/pictures2/index.html"
onMouseOver="document.images.animate.src='picture2.gif';
return true"
onMouseOut="document.images.animate.src='picture.jpg'">
<IMG SRC="picture2.jpg" WIDTH="90" HEIGHT="90"
HSPACE="0" VSPACE="0" BORDER="0" ALIGN=LEFT
NAME="animate"></a>
All help is greatly appreciated