View Full Version : Rollover graphic on submit button?
Beck1
08-29-2002, 12:07 PM
Does anybody know if it's possible to put a rollover on a graphic submit button within an HTML form? I've tried everything I can think of and it's not working! I'd really appreciate any help - I've enclosed the script below:
<form action="http://www.symcart.com/sbin/" method=post><input type=hidden name="instId" value="39797"><input type=hidden name="filesPath" value="http://www.beautifulballooncompany.com/"><input type=hidden name="cmd" value="Basket"><input type="image" border="0" name="imageField" src="images/nav5.gif" width="106" height="16">
</form>
Thanks,
Beck
martin_narg
08-29-2002, 12:27 PM
this should work for you:
<form action="http://www.symcart.com/sbin/" method=post>
<input type=hidden name="instId" value="39797">
<input type=hidden name="filesPath" value="http://www.beautifulballooncompany.com/">
<input type=hidden name="cmd" value="Basket">
<input type="image" border="0" name="imageField" src="images/nav5.gif" onmouseover="this.src='images/nav5_over.gif'" onmouseout="this.src='images/nav5.gif'" width="106" height="16">
</form>
hope it helps,
m_n
Beck1
08-29-2002, 12:47 PM
Thanks - that's great!!!!
Don't suppose you'd be able to help me out with making this scripted button a rollover too?
Cheers, Beck
<div class=wrap1> <span class=wrap2 onmouseover="dropit(event,'dropmenu0');event.cancelBubble=true;return false"><font face="Arial"><b><a href="products.html" onmouseover="if(ns4) return dropit(event, 'document.dropmenu0')"><font color="FF3399"><img src="images/nav1.gif" width="122" height="16" border="0"></font></a></b></font>
</span> </div>
martin_narg
08-30-2002, 08:10 AM
<div class=wrap1> <span class=wrap2 nmouseover="dropit(event,'dropmenu0');event.cancelBubble=true;return false">
<font face="Arial">
<b>
<a href="products.html" onmouseover="if(ns4) return dropit(event, 'document.dropmenu0')">
<font color="FF3399">
<img src="images/nav1.gif" width="122" height="16" border="0" onmouseover="this.src='images/nav1_over.gif'" onmouseout="this.src='images/nav1.gif'">
</font>
</a>
</b>
</font>
</span>
</div>
hope this helps
m_n
Beck1
08-30-2002, 10:08 AM
Brilliant. Thanks very much.
Beck.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.