minorbug
11 Dec 2011, 10:05 PM
I need to change the thumb image depending on the value.
In PR2 I was able to do the following:
change:function(t,value,opts){
if (opts == -1){
t.getThumb().setCls("slider-against");
}else if (opts== 0){
t.getThumb().setCls("slider-neutral");
}else if (opts == 1){
t.getThumb().setCls("slider-for");
}
}
Is there a way to access the sliderfield thumb? getThumb is no longer available in PR3
In PR2 I was able to do the following:
change:function(t,value,opts){
if (opts == -1){
t.getThumb().setCls("slider-against");
}else if (opts== 0){
t.getThumb().setCls("slider-neutral");
}else if (opts == 1){
t.getThumb().setCls("slider-for");
}
}
Is there a way to access the sliderfield thumb? getThumb is no longer available in PR3