chad use the <input type=image src="">
G
who can't really be bothered today
On 5/16/05, Chad Renando <[EMAIL PROTECTED]> wrote:
> What do you guys use for form submit buttons? I am thinking about
> using images with rollovers. The option below gives me the rollover,
> but I don't know how to detect which button was submitted:
>
> <A HREF="javascript:document.myform.submit()"
> onmouseover="document.myform.sub_but.src='butdown.gif'"
> onmouseout="document.myform.sub_but.src='butup.gif'"
> onclick="return val_form_this_page()">
>
> <IMG SRC="butup.gif"
> WIDTH="143" HEIGHT="39" BORDER="0" ALT="Submit this form"
> NAME="sub_but">
>
> </A>
>
> And the option below gives me multiple submits, but no rollover:
>
> <INPUT type="image" src="btn1.gif" name="bsubmit1">
> <INPUT type="image" src="btn2.gif" name="bsubmit2">
> <INPUT type="image" src="btn3.gif" name="bsubmit3">
>
> and when processing:
> <cfif isdefined("form.bsubmit1.x")>Do Stuff</cfif>
>
> Any ideas?
>
> Thanks!
>
> Chad
> who feels like he's bothering people
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/