Re: Custom Submit Button - Gray Box Yuck
by "Frank Boumphrey" <bckman(at)ix.netcom.com>
|
Date: |
Fri, 8 Sep 2000 21:39:41 -0400 |
To: |
<hwg-techniques(at)hwg.org>, "Mogenns Gilmour" <Mogenns(at)WebCoach.com> |
References: |
webcoach |
|
todo: View
Thread,
Original
|
|
> Is there any techniques or java script to allow a custom
> looking submit button?
Yes use the submit() method tied either to your table or to a picture with
an onclick or an onmousedown event.. e.g.
<form name="form1" action="mypage.asp" method="post">
<input type="text" />
<img src="pic.gif" onclick="submitform()" />
</form>
<script type="textJavaScript">
function submitform()
{
form1.submit()
}
</script>
HTH
Frank
Frank Boumphrey
Author:
Beginning XHTML
XML Unleashed
XML for Dummies
Professional Style sheets
XML applications
www.hypermedic.com
----- Original Message -----
From: "Mogenns Gilmour" <Mogenns(at)WebCoach.com>
To: <hwg-techniques(at)hwg.org>
Sent: Friday, September 08, 2000 8:13 PM
Subject: Custom Submit Button - Gray Box Yuck
> Hi,
>
> I am not sure I have seen this before but
> I have a customer who does not want to have
> the grey default submit box that comes up when
> you use: <INPUT TYPE="submit" VALUE=" Click to Submit ">
>
> Is there any techniques or java script to allow a custom
> looking submit button?
>
> In essence this is what I want to use:
>
> <table border=1 cellpadding=2 cellspacing=1 bgcolor="beige"
bordercolor="#008080">
> <TR>
> <TD>
> <b><font size="+1" color="red"><INPUT TYPE="submit" VALUE=" Click to
Submit "></font></b>
> </TD></TR>
> </TABLE>
>
> And have the text actually red and no grey background.
>
>
http://www.webcoach.com/~scottmeyers/seminars/eistl/registration_eistl_frame
s.html
>
> Thanks for any help.
>
> best,
>
> Mogenns
>
>
>
> -----------------------------------------------
> WebCoach Internet Services Corp.
> Mogenns Gilmour
> -----------------------------------------------
> Providing Quality Internet Services Since 1995.
> Info(at)WebCoach.com | http://www.webcoach.com
> Toll Free: 877-WebCoach (932-2622)
> 503-655-6813 (Voice) | 503-655-6907 (Fax)
> -----------------------------------------------
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA