<CFSLIDER NAME="name"
LABEL="text"
REFRESHLABEL="Yes/No"
IMG="filename"
IMGSTYLE="style"
RANGE="min_value, max_value"
SCALE="uinteger"
VALUE="integer"
ONVALIDATE="script_name"
MESSAGE="text"
ONERROR="text"
HEIGHT="integer"
WIDTH="integer"
VSPACE="integer"
HSPACE="integer"
ALIGN="alignment"
GROOVECOLOR="color"
BGCOLOR="color"
TEXTCOLOR="color"
FONT="font_name"
FONTSIZE="integer"
ITALIC="Yes/No"
BOLD="Yes/No"
NOTSUPPORTED="text">
NAME
Required. A name for the CFSLIDER control.
LABEL
Optional. A label that appears with the slider control, for example:
LABEL="Volume %value%"
You can use %value% to reference the slider value. If % is omitted, the slider value appears immediately following the label.
REFRESHLABEL
Optional. Yes or No. If Yes, the label is not refreshed when the slider is moved. Default is Yes.
IMG
Optional. Filename of the image to be used in the slider groove.
IMGSTYLE
Optional. Style of the image to appear in the slider groove. Valid entries are:
Default is Scaled.
RANGE
Optional. Determines the values of the left and right slider range. The slider value appears as the slider is moved.
Separate values by a comma, for example:
RANGE="1,100"
Default is "0,100". Valid only for numeric data.
SCALE
Optional. An unsigned integer. SCALE defines the slider scale within the value of RANGE. For example, if RANGE=0,1000 and SCALE=100, the incremental values for the slider would be 0, 100, 200, 300, and so on.
VALUE
Optional. Determines the default slider setting. Must be within the values specified in RANGE. Defaults to the minimum value specified in RANGE.
ONVALIDATE
Optional. The name of a valid JavaScript function used to validate user input, in this case, a change to the default slider value.
MESSAGE
Optional. Message text to appear if validation fails.
ONERROR
Optional. The name of a valid JavaScript function you want to execute in the event of a failed validation.
HEIGHT
Optional. Height value of the slider control, in pixels.
WIDTH
Optional. Width value of the slider control, in pixels.
VSPACE
Optional. Vertical margin spacing above and below slider control, in pixels.
HSPACE
Optional. Horizontal margin spacing to the left and right of slider control, in pixels.
ALIGN
Optional. Alignment value. Valid entries are:
- Top
- Left
- Bottom
- Baseline
- TextTop
- AbsBottom
- Middle
- AbsMiddle
- Right
GROOVECOLOR
Optional. Color value of the slider groove. The slider groove is the area in which the slider box moves. Valid entries are:
- black
- magenta
- cyan
- orange
- darkgray
- pink
- gray
- white
- lightgray
- yellow
A hex value can be entered in the form:
GROOVECOLOR="##xxxxxx"
Where x is 0-9 or A-F. Use either two pound signs or no pound signs.
BGCOLOR
Optional. Background color of slider label. See GROOVECOLOR for color options.
TEXTCOLOR
Optional. Slider label text color. See GROOVECOLOR for color options.
FONT
Optional. Font name for label text.
FONTSIZE
Optional. Font size for label text measured in points.
ITALIC
Optional. Enter Yes for italicized label text, No for normal text. Default is No.
BOLD
Optional. Enter Yes for bold label text, No for medium text. Default is No.
NOTSUPPORTED
Optional. The text you want to display if the page containing a Java applet-based CFFORM control is opened by a browser that does not support Java or has Java support disabled. For example:
NOTSUPPORTED="<B> Browser must support Java to
view ColdFusion Java Applets</B>"
By default, if no message is specified, the following message appears:
<B>Browser must support Java to <BR>
view ColdFusion Java Applets!</B>
|