diff -r ecdfc63274bf -r 436d4791d7ac client/player/css/jq-css/demos/draggable/snap-to.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/player/css/jq-css/demos/draggable/snap-to.html Wed Jun 09 16:48:35 2010 +0200 @@ -0,0 +1,70 @@ + + +
+ +Snap the draggable to the inner or outer boundaries of a DOM element. Use the snap
, snapMode
(inner, outer, both), and snapTolerance
(distance in pixels the draggable must be from the element when snapping is invoked) options.
Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid
option.