Posted by Jason Nugent on September 08, 1998 at 05:40:03:
In Reply to: Re: Jason Nugent please help. One last thing re:my rollovers posted by Darren Perara on September 07, 1998 at 23:20:39:
Ok. Well, with the code you specified, any group of images now begins with your default image. So... if you have something like this:
<A HREF="index.html" onMouseOver="fadeIn ('left');return true"
onMouseOut="fadeOut ('left');return true"><IMG SRC="default.gif" NAME="left"></A>
the image will start off with default.gif. It has the unique name 'left', and the functions know what to use as the other images because it takes the name you pass to it (left, in this case), and concatenate either 1.src, 2.src, 3.src, or 4.src to the end of it to get the different srcs.
The name is common to all four because each image in the series has it as its base (left, for example... becomes left1.src for the first image, and left2.src for the second image, and so on).