Description

Shows the slider control.

Function syntax

ColdFusion.Slider.show(name)

See also

ColdFusion.Slider.disableColdFusion.Slider.enableColdFusion.Slider.getSliderObjectColdFusion.Slider.getValue

ColdFusion.Slider.hideColdFusion.Slider.setValue

History

ColdFusion 9: Added this function

Parameters

Parameter

Description

name

Specifies the value of the name attribute in the cfslider tag.

Returns

This function does not return any value.

Example

<h3>This is an example of the Slider.show function. Click the Show Slider button to show the slider.</h3>
<script language="JavaScript" type="text/javascript">
function onload(){
ColdFusion.Slider.hide('sliderID');
}
function show(){
ColdFusion.Slider.show('sliderID');
}
</script>
<br>
<cfform name="form01">
<br/>
<cfslider name="sliderID" format="HTML"
vertical="false" width="350"
value="100" min="0" max="200"
increment="10" tip="true"/>
<cfinput type="button" name="htmlbutton"
value="Show Slider" onclick="show()">
</cfform>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy