jquery - jscript ui steps calculation and logic problems -
i'm trying create vps style slider selector using jquery ui i'm not able find correct "max" , "step" numbers, need 6 steps, starting 0, have used:
range: "min", min: 0, max: 6, step: 1, value: 0,
but not working have expected. selector cursor working odd when click on it, know is max , step value because using example did find max:576 , step 56.8 working fine have rule in ui docs min-max value have divisible step value.
thanks in advance!
well, dont know, if correctly understand you.
if jast want slider snap increments , value between 0 , 6 should so:
$('your-slider-selector').slider({ value:0, min: 0, max: 6, step: 1});
and thats all!
Comments
Post a Comment