I have a jQuery UI Slider, which I want to disable when a user tries to slide using the track. It should only work/enable when someone drags the handle somewhere. Clicking and trying to drag the sliding to move the handle should be disabled. I'm not sure if this can be done using unbind
or mousedown
event.
The problem I notice is, my handle goes from 1 to 100. When you move the start of the handle, it displays uses the ui.value
. But if you try to go outside the handle and slide on the slider track, the ui.value
resets its value.
So, I want to disable non-handle dragging.