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/constrain-movement.html | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 demos/draggable/constrain-movement.html (limited to 'demos/draggable/constrain-movement.html') diff --git a/demos/draggable/constrain-movement.html b/demos/draggable/constrain-movement.html new file mode 100644 index 000000000..fbfea8009 --- /dev/null +++ b/demos/draggable/constrain-movement.html @@ -0,0 +1,45 @@ + + + + jQuery UI Draggable - Axis Demo + + + + + + + + + +
+ +
+

I can be dragged only vertically

+
+ +
+

I can be dragged only horizontally

+
+ + + +
+ +
+ +

+Define the boundaries of the draggable area. Set the axis option to limit the draggable's path to the x- or y-axis. Or use the containment option to specify a parent DOM element or a jQuery selector, like 'document.' +

+ +
+ + -- cgit v1.2.3