First introduced jquery, jquery-ui reintroduction
structure
In any case can drag
Drag restrictions
Restrictions only allow drag in the x direction
Limited range of movement within the parent
Style on the first package a parent
Defined within the parent
???
The second argument of the event
ui parameter analysis
ui parameter is a target
Wherein the offset is an offset, as illustrated
Offset, position
drill
Draw pull block. Simultaneously displaying values
Looking back at the code
Speech training
Drag and dragged through the area so that there is a gray effect
Meanwhile, the text box displays the value
Example, the custom scrollbars
Code