JQuery Slider, how to make “step” size change

后端 未结 12 792
遥遥无期
遥遥无期 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:18

    Somebody posted this on the jQuery website. See:

    http://forum.jquery.com/topic/non-linear-logarithmic-or-exponential-scale-for-slider

    and

    http://jsbin.com/ezema

    It is exactly what yo have, but way simpler (like 1 line of code).

提交回复
热议问题