jQRangeSlider icon indicating copy to clipboard operation
jQRangeSlider copied to clipboard

my requirement is like when the slider left handle and right handle have same date ,then how can we stop the handle so that start date never be greater than end date basically we should stop overlapping of handles

Open nida2022 opened this issue 12 years ago • 4 comments

nida2022 avatar Jul 25 '13 10:07 nida2022

Hello,

You can use a minimum range value: http://ghusse.github.io/jQRangeSlider/documentation.html#rangeOption

ghusse avatar Jul 25 '13 11:07 ghusse

Really Thanx for ur quick response ,it helped me a lot ,but in case when i am giving it a min value 0 and when i m moving from right to left its working fine both of the handle are not going beyond that point(leftside) but in case moving from left to right ,its not working perfectly when right handle is at max value and when left handle overlap it,both handle should not go beyond max value and in this we are not able to move left side also .

nida2022 avatar Jul 25 '13 12:07 nida2022

For the moment, there is no other way to constraint handle position.

ghusse avatar Jul 29 '13 07:07 ghusse

I found this really cool codepen that combines the labels of the jQuery UI range slider when they get close together.

http://codepen.io/ignaty/details/EruAe/

Maybe you can implement something like it

Mottie avatar Feb 24 '15 21:02 Mottie