From 6cf45dd25a98f98c91a4000345fc5597f9929939 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 10 Sep 2010 09:17:58 -0400 Subject: Draggable demos: Coding standards. --- demos/draggable/snap-to.html | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) (limited to 'demos/draggable/snap-to.html') diff --git a/demos/draggable/snap-to.html b/demos/draggable/snap-to.html index a9ad84642..4859403ae 100644 --- a/demos/draggable/snap-to.html +++ b/demos/draggable/snap-to.html @@ -1,31 +1,32 @@ - + jQuery UI Draggable - Snap to element or grid - - - - - - - - - +
@@ -56,15 +57,12 @@
-
-

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.

+
+

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.

-
- - -- cgit v1.2.3