Name

cfslider

Synopsis

<cfform>
  <cfslider> 
  ...
</cfform>

Creates a Java slider control for use within a cfform block.

Attributes

name=" name "

The form-field name for the slider control. Required.

align=" alignment "

Alignment for the slider control. Valid entries are Left, Right, Top, TextTop, Bottom, AbsBottom, Baseline, Middle, and AbsMiddle. Optional.

bgcolor=" color "

Background color for the slider control. Follows the same rules as GROOVECOLOR. Optional.

bold="Yes|No"

Whether or not to display the label text in bold. Optional. The default is No.

font=" font_name "

A font name for the label text. Optional.

fontsize=" integer "

A font size for the label text. Optional.

groovecolor=" color "

The text color for all data in the grid. Colors may be specified by name (Black, Blue, Cyan, Darkgray, Gray, Lightgray, Magenta, Orange, Pink, Red, White, Yellow) or hex code in the form textcolor="##FFFFCC". The double pound signs are necessary to keep ColdFusion from throwing a syntax error, or you may omit the pound signs altogether. By using the appropriate hex code, you can specify colors that can’t be specified by name. Optional. The default is White. This attribute is deprecated and no longer functional as of ColdFusion 5.0.

height=" height_in_pixels "

Height in pixels for the slider. Optional. The default is 40.

hspace=" horizonal_spacing_in_pixels "

Width in pixels for the padding to the left and right of the slider control. Optional.

img=" filename "

The filename of an image ...

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.