For Adobe ColdFusion application servers Image

An image format field is the equivalent of an HTML image submit button, i.e. <input type="image">. You can supply all the attributes you use with that tag, plus some extras. We have added three more attributes to make creating rollover effects easy.

The following special attributes are available for image:

  • src
    Required. The web path to the button image.
  • hoversrc
    Optional. The web path to an image to swap in when the mouse hovers over the button (e.g. the button lights up or glows blue).
  • downsrc
    Optional. The web path to an image to swap in when the mouse clicks down on the button (e.g. the button is depressed).
  • clicksrc
    Optional. The web path to an image to swap in when the mouse clicks up on the button (i.e. the form is being submitted).

Non-TerraField attributes will be passed through to the underlying tag (<input type="image">). For example:

  • border="0"

Examples

An image field:

<cf_terrafield
  name="Myimage1"
  format="image"
  src="submit.GIF"
  hoversrc="submit_hover."
  downsrc="submit_down."
/>
Graphic Interchange Format
A common format for image files.
HyperText Markup Language
The coding language used to create hypertext documents for use on the World Wide Web.
No comments yet