PDA

View Full Version : Image Rollovers


ezekielskater02
12-02-2002, 10:52 PM
OK, now, ive tried this many many many times. I've gone to all the sites i could find, and half of them told me how to do it, but for some reason, it still does not work. I want to know how to do a doubleimage rollover. Ive got the URL's and do everything, but it never comes out right. I know this is a long script, and i dont know you guys very well but im thinking most of you wouldnt type all of that code. But for the hell of it, im still asking. Thanks guys. :confused:

chrismiceli
12-02-2002, 10:53 PM
can we see some code here??

ezekielskater02
12-02-2002, 11:25 PM
I dont have the code....thats why i asked... :|

cg9com
12-03-2002, 12:09 AM
Originally posted by ezekielskater02
I know this is a long script

hardly

<a onMouseOver="document.Image.src='Button(2).gif'"
onMouseOut="document.Image.src='Button(1).gif'">
<IMG SRC="Button(1).gif" BORDER="0" NAME="Image"></a>

blue is the name, you have to change this for each time you use the script in the same document, make it whatever you want.

red is the mouseover image

green is the first image


as far as xhtml goes, i have no idea what replaces name
but that will work fine. :)