Whatever message this page gives is out now! Go check it out!
<cfslider
name = "name"
clickToChange = "true|false"
format = "html"
height = "integer"
increment = "Unit increment value"
max = "maximum value for the slider"
min = "minimum value for the slider"
onChange = "JavaScript function name"
onDrag = "JavaScript function name"
tip = "true|false"
value = "integer"
vertical = "true|false"
width = "integer"><cfslider
name = "name"
height = "integer"
onError = "text"
onValidate = "script name"
range = "minimum value, maximum value"
scale = "integer"
value = "integer"
vertical = "yes|no"
width = "integer">Attribute | Req/Opt | Default | Description |
name | Required | Name of cfslider control. | |
clickToChange | OptionalHTML | Whether clicking the slider changes the value of the pointer:
| |
format | Optional | applet | Specifies if the format is:
|
height | Optional | 40, for applet 100, for HTML | Slider control height, in pixels. |
increment | OptionalHTML | The unit increment value for a snapping slider. | |
max | OptionalHTML | Maximum value for the slider. | |
min | OptionalHTML | Minimum value for the slider. | |
onChange | OptionalHTML | Custom JavaScript function to run when slider value changes. Specify only the function name. | |
onDrag | OptionalHTML | Custom JavaScript function to run when you drag the slider. Specify only the function name. | |
onError | Optional | Custom JavaScript function to run if validation fails. Specify only the function name. | |
range | Optional | "0,100" | Numeric slider range values. Separate values with a comma. |
tip | OptionalHTML | true | Whether the data valu has to display as data tips:
|
value | Optional | Minimum in range | Starting slider setting. Must be within the range values. |
vertical | Optional | no(for applet forms) false(for HTML forms) | For Applet forms:
|
width | Optional | 200, for HTML | Slider control width, in pixels. |
<!--- This example shows how to use cfslider</h3>
<br/ >
<cfform name="form01">
<cfslider name="slider1"
format="HTML"
vertical="false"
width="350"
value="100"
min="0"
max="200"
increment="10"
tip="true"/>
</cfform>