2
I’m using the Slider of jQuery UI, and I’m hoping that the Handle responsible for moving the slider, stay within the limits of the slider. Currently it is like this:
Limit 0%:
Limit 100%:
I want him to stay within the limit of the slider, that way:
Limit 0%:
Limit 100%:
How to solve this problem? Follow the code in jsfiddle:
https://jsfiddle.net/a5erpzqp/2/
Important remarks:
- Moving Handle should be fluid as it normally works;
- The Slider used uses the property
range
as seen in jsfiddle - The solution must not present any visual anomalies
- jsfiddle presents a sample where Handle exceeds the limits of Slider
The best solution would be to separate the "Total:N" in a label next to this sliderhandle
– HudsonPH