C
cmgmyr
Hello,
I'm trying to figure out how to disable a slider through the onChange
function. Here is what I have so far:
new Control.Slider('handle','slider',
{
axis:'horizontal',
sliderValue: 1,
range: $R(1, 100),
alignY:0,
values: [<?php echo $values ?>],
onSlide:function(v){
onSlide(v)
},
onChange:function(v){
onChange(v)
}
});
After my onChange(v) function, I want to disable the slider, how can I
do this?
Thanks in advance,
-Chris
I'm trying to figure out how to disable a slider through the onChange
function. Here is what I have so far:
new Control.Slider('handle','slider',
{
axis:'horizontal',
sliderValue: 1,
range: $R(1, 100),
alignY:0,
values: [<?php echo $values ?>],
onSlide:function(v){
onSlide(v)
},
onChange:function(v){
onChange(v)
}
});
After my onChange(v) function, I want to disable the slider, how can I
do this?
Thanks in advance,
-Chris