Click to See Complete Forum and Search --> : "Submit button" on form


MattG1225
06-04-2003, 02:11 PM
I have a simple form going to a login.php page. I'd like to make the "SUBMIT" button a rollover image, but don't know if that can be done. Here is what I am currently using which just displays the onmouseout image. THanks!

<FORM METHOD=POST ACTION="/WebCOPS/login.php">
<b>CustomerID:</b><br>
<INPUT NAME=CUSTOMER SIZE=12 MAXLENGTH=12><br>
<input type="image" src="rollover1.gif" onmouseover="document.rollover.src='rollover2.gif'" onmouseout="document.rollover.src='rollover.gif'" name="rollover">
</FORM>

Jona
06-04-2003, 02:56 PM
<FORM METHOD=POST ACTION="/WebCOPS/login.php">
<b>CustomerID:</b><br>
<INPUT NAME=CUSTOMER SIZE=12 MAXLENGTH=12><br>
<input type="image" src="rollover1.gif" onmouseover="this.src='rollover2.gif'" onmouseout="this.src='rollover1.gif'">
</FORM>


Jona

MattG1225
06-04-2003, 03:29 PM
the onmouseover works, but not the onmouse out??

Jona
06-04-2003, 04:05 PM
Make sure rolllover1.gif exists on your server. Then give me a link. :D

Jona