Reference - SS.control.slider - Slider
Displays a slider control which facilitates the capturing of a value between two defined points.
Attributes:
Functions:
Members:
Attributes
css
Classname style
CSS style applied to the overall slider.
s - {String} - style name
v1.0.0.20080527
[Top]
css_bar
Slider Bar Classname Style
CSS style applied to the the bar of the slider control. Allows the default style to be adjusted.
s - {String} - style name
v1.0.0.20080527
[Top]
css_pick
Slider Pick Classname Style
CSS style applied to the moveable pick on the slider control. Allows the default pick style to be adjusted.
s - {String} - style name
v1.0.0.20080527
[Top]
linkto
Link To Control Id
Links the slider value to the value in another HTML control e.g. textbox, hidden field etc that
supports control.value. Changing the value in the HTML control changes the slider value.
s - {String} - Id of the control to link to
v1.0.0.20080527
[Top]
maxvalue
Maximum Value
Sets the maximum value of the slider range.
v - {Integer} (default = 100)
v1.0.0.20080527
[Top]
minvalue
Minimum Value
Sets the minimum value of the slider range.
v - {Integer} (default = 0)
v1.0.0.20080527
[Top]
pickalign
Alignment of Pick to Value
Sets the alignment of the pick based on the value of the slider. If pickalign="left", the
pick will be positioned to the left of the value i.e. right edge falls against the value. Likewise, pickalign="right" will
set the pick to the right of the value with the left edge marking the value point. The default is
center which means the value lies in the middle of the pick.
"left" - {String}
"center" - {String} (default)
"right" - {String}
v1.0.0.20080527
[Top]
pickheight
Pick Height
Sets the height of the pick. Useful when the slider orientation = horizontal.
h - {String} (default = 100%)
v1.0.0.20080527
[Top]
pickwidth
Pick Width
Sets the height of the pick. Useful when the slider orientation = vertical.
h - {String} (default = 100%)
v1.0.0.20080527
[Top]
onchange
On Change Event Called Function
String function which is evaluated and then called when the value of the slider changes
f - {String} - Javascript function.
v1.0.0.20080527
onclick
On click Event Called Function
String function which is evaluated and then called when the slider is clicked.
f - {String} - Javascript function.
v1.0.0.20080527
orientation
Orientation
Sets the orientation of the slider bar. Can be set to horizontal or vertical
"horizontal" - {String} (default)
"vertical" - {String}
v1.0.0.20080527
[Top]
scroll
Mouse Scroll
Enables moving the pick by using the scroll wheel on the mouse. Set to true
to enable.
b : {Boolean} (default = true)
v1.0.2.2008xxxx
[Top]
value
Value
Holds the current value of the slider.
v - {Integer}
v1.0.0.20080527
[Top]
Functions
Members
idc
Container Id
Id of the container element that holds the control
v1.0.0.20080527
[Top]
idb
Slider Bar Id
Id of the slider bar
v1.0.0.20080527
[Top]
idp
Pick Id
Id of the pick
v1.0.0.20080527
[Top]