Closed SchmidtDEN closed 5 years ago
Hi, the problem here is not in the sliders, it is in your code design.
onChange
function you should only store sliders data and call external function.Great Thanks! :) I will look into that, but at first glance it seems that these sliders takes the total sum of the sliders. Whereas I need it to "watch" each other.
It might be the exact same logic, I am just not quite sure how to do it, but will look a bit more into it!
Thanks for the help - I fixed it by doing separate "show-me" classes and adding these to the function :)
Hi Guys
Sorry if this has come up many times before, but I can't seem to find anything about this anywhere. I have added two sliders and all works except that they "overwrite" each other and I can't seem to figure out how to check both sliders at the same time.
I "understand" why it just adds the class even though the "first" slider has removed the class. But how do I get both sliders to check if the other slider has hidden the item, so it will not show up again. This is what I have now:
`// Range slider Size // --------------------------------------
I have tried all sorts of things but I can't seem to get it. Any help or pointers is MUCH appreciated :)