0
It is possible, set the values that will be between the minimum value and the maximum value, for example, I give the minimum value to 10 and the maximum value to 200, but I do not want the values between them to be the number between 10 and 200 and yes, 15,25,50,80,199. I want to specify the values myself.
$('.nstSlider').nstSlider({
"left_grip_selector": ".leftGrip",
"right_grip_selector": ".rightGrip",
"value_bar_selector": ".bar",
"value_changed_callback": function (cause, leftValue, rightValue) {
$('#leftLabel').text(leftValue);
$('#rightLabel').text(rightValue);
}
});
<div class='row'>
<div class='col-xs-2'>
<div id="leftLabel"></div>
</div>
<div class='col-xs-8'>
<div class="nstSlider" data-range_min="0" data-range_max="100" data-cur_min="0" data-cur_max="100">
<div class="bar"></div>
<div class="leftGrip"></div>
<div class="rightGrip"></div>
</div>
</div>
<div class='col-xs-2'>
<div id="rightLabel"></div>
</div>
friend from what I see with nstSlider is not possible to do that, it would be necessary to find another, recommend the noUiSlider see the example of Using the slider with Huge Numbers, it is only change the numbers by which you want
– jbrunoxd
thank you very much.
– Michel Henriq