----- Original Message -----
From: "Casey Crookston" <[EMAIL PROTECTED]>

> Okay, having a mind blank here...

Or not having a handy book like O'Reilly 'Webmaster in a Nutshell' on a
nearby shelf :o)

> How do you use an image to submit an HTML form?

Maybe you're thinking of:

  <input type="image" [name=, align=, alt= ] src="mybutton.jpg">

This allows you to use an image as a submit button.  From HTML4 you can put
in an ALT= for users of text only browsers, but some earlier ones would show
the VALUE or NAME attributes so best to put all those in as the same value
for useability.

Note that what the button returns is not the button value (even if one is
specified) like an 'input type=submit' button would, but the x and y
coordinates of where the user clicked on the image.  When the graphical
submit button is clicked, the coordinates of the click are sent with the
form submission as name.x=x-value and name.y=y-value where name is the value
of the NAME attribute, x-value is the click's pixels from the left of the
image, and y-value is the click's pixels from the top of the image. This
could actually be very useful in some circumstances I guess...

Bj



____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to