Topic awaiting preservation: onMouseOver w/random img (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted |
posted 05-17-2002 20:34
This script that will randomly display an image out of four images. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-17-2002 21:26
Well, you'd need to add another array for the mouseover images. Then code the mouseover just as you would for a single image, but make it dependant on the image number. Make some sort of function that switches the image with a given new image, and make sure you pass it some variable telling it what image to replace itself with. |
Neurotic (0) Inmate Newly admitted |
posted 05-17-2002 21:59
haha, ok. |