IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.56k stars 508 forks source link

How to make multiple range slider? #716

Open s-lll-k opened 4 years ago

s-lll-k commented 4 years ago

I'm trying to make a filter in the marketplace, there should be several sliders of the same design. The problem is that the values in the inputs, where the minimum and maximum values are displayed, are intertwined. You can look here https://jsfiddle.net/nt3sLgxw/1/

yansusanto commented 4 years ago

Duplicate of #715

This is what I've trying to figure out too. Sure, we can create each slider with its own onChange event but I'm pretty sure that's not the right way to do it.

I hope someone who has done it before might chip in and give some pointers.

s-lll-k commented 4 years ago

"Sure, we can create each slider with its own onChange event but I'm pretty sure that's not the right way to do it." - I think so! The only think we can do, is to wait(

IonDen commented 4 years ago

Hey guys. Of course you can create multiple sliders. Just don't use same class names and vars. Like this: https://jsfiddle.net/IonDen/f1t6qpx0/

s-lll-k commented 4 years ago

Hey guys. Of course you can create multiple sliders. Just don't use same class names and vars. Like this: https://jsfiddle.net/IonDen/f1t6qpx0/

Thank you very much for your answer!