Reputation: 1775
Im trying to use uiSlider to define hourrange. http://marcneuwirth.com/wp-content/uploads/2010/06/timeslider3.html
Slider handles behave strangely - when moving right slider, it changes value correctly (or not quite), but when leaved, and moved left handle - value of right handle changes. Same thing happends in other direction. Also moving one handle left and right shows strange changes in values.
Thanks for any advices.
Upvotes: 0
Views: 436
Reputation: 1409
I have played a bit with your jsfiddle and modified a bit your slideTime function
val0 = ui != undefined ? ui.values[0] : 480,
val1 = ui != undefined ? ui.values[1] : 1080
You may want to refactor this code, but it looks like now it is working fine.
Upvotes: 2