Dragging with JavaScript


drag to move

 

drag handle to move

drag to move

vertical constraint


drag to move

horizontal constraint

drag to move

contrained to region

drag to move

exaggerated drag threshold

drag to move

absolutely positioned, constrained vertically and within visible area


Nothing novel going on here; just a basic cross-browser dragging library. Other examples, namely drag & drop sorting, build upon it.

TODO