Form Buttons with rollover images

liunx

Guest
Hello,<br />
<br />
I'm using Dreamweaver to design my pages and I'm having trouble trying to<br />
incorporate javascript for rollovers into the FORM code.<br />
The Form code is code for a shopping cart link.<br />
<br />
What is the correct syntax for incorporating rollover images in a Form?<br />
<br />
Thanks...<!--content-->Dreamweaver has its own 'insert rollover' function, have you tried this?<br />
<br />
And then copy the relevant code to where it's needed.<!--content-->Thanks but I can create roll overs OK in DW but I'm just having trouble<br />
incorporating the right code/syntax into the Form setting...<br />
<br />
For example, here's the code/link for the images:<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Medium','','medium_rollover.gif',1)"><img name="Medium" border="0" src=http://www.webdeveloper.com/forum/archive/index.php/"medium.gif" width="85" height="23"></a> <br />
<br />
And here's the code for the Form:<br />
<br />
<form action="http://ww4.aitsafe.com/cf/add.cfm" method="post"><br />
<input type="hidden" name="userid" value="6531023"><br />
<input type="hidden" name="product" value="Medium T-Shirt"><br />
<input type="hidden" name="price" value="12.50"><br />
<input type="hidden" name="return" value="www.satansbusy.com"><br />
<input type="hidden" name="units" value="1"><br />
<input type="image" src=http://www.webdeveloper.com/forum/archive/index.php/"medium.gif" Alt="Buy Now"><br />
</form><br />
<br />
I just can't get it right!<!--content-->
 
Back
Top