JQuery Slider, how to make “step” size change

后端 未结 12 796
遥遥无期
遥遥无期 2020-11-27 10:59

Is it possible to use the JQuery Slider (range slider / dual slider) to have non-linear (non consistent \"step\" size) values?

I want to horizontal Slider to look li

12条回答
  •  醉话见心
    2020-11-27 11:02

    I think I can offer a better solution: The idea is to keep an array with my real values apart from the slider, then to set the step attribute always to 1 and let the slider work with the index of that array and then fetch the real value from my real data array. Hope this example Helps: http://jsfiddle.net/3B3tt/3/

提交回复
热议问题