From 3530c1f3f8fe11e16451ef1cb49ae9f63a1b3b59 Mon Sep 17 00:00:00 2001 From: Maggie Costello Wachs Date: Thu, 15 Jan 2009 20:17:49 +0000 Subject: reorganized draggable demos and combined a few into new pages --- demos/draggable/snap-to.html | 70 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 demos/draggable/snap-to.html (limited to 'demos/draggable/snap-to.html') diff --git a/demos/draggable/snap-to.html b/demos/draggable/snap-to.html new file mode 100644 index 000000000..0f9c9a91d --- /dev/null +++ b/demos/draggable/snap-to.html @@ -0,0 +1,70 @@ + + + + jQuery UI Draggable - Snap Demo + + + + + + + + + +
+ +
+

I'm a snap target

+
+ +
+ +
+

Default (snap: true), snaps to all other draggable elements

+
+ +
+

I only snap to the big box

+
+ +
+

I only snap to the outer edges of the bix box

+
+ +
+

I only snap to the inner edges of the big box

+
+ +
+

I also snap to the big box but I'm very sticky because I have a high tolerance

+
+ + + + +
+ +
+ +

+ +

+ +
+ + + + + -- cgit v1.2.3