|
|||||||||
|
Image buttonsImage buttons combine the functionality of submit buttons and image maps (which are described in Chapter ). Here is the example from Figure :
<INPUT NAME="image" TYPE="image" SRC="images/image-button.gif" ALIGN="top"> An IMAGE type INPUT element defines an image which will cause all the data so far entered to be submitted when the user clicks on it. At the same time the coordinates of the point on the image where the user clicked are sent as extra data. The URL of the image file is specified with the SRC attribute and the ALIGN attribute specifies whether the top, middle or bottom of the image is aligned with other text on the line. By default the bottom of the image is aligned with the text. It has been decided that image type input fields will be subsumed into the submit field in a future version of HTML.
Spinning the Web by Andrew Ford |
||||||
Copyright © 1996-2002 Ford & Mason Ltd |