From: Paul Bakaus Date: Tue, 30 Dec 2008 08:48:19 +0000 (+0000) Subject: demos: first bunch of draggable demos (default, axis, grid, containment) X-Git-Tag: 1.6rc3~134 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fae9c64bd96ba8e87fe413ef450ed9f3a61f454d;p=jquery-ui.git demos: first bunch of draggable demos (default, axis, grid, containment) --- diff --git a/demos/draggable/axis.html b/demos/draggable/axis.html new file mode 100644 index 000000000..26154961b --- /dev/null +++ b/demos/draggable/axis.html @@ -0,0 +1,33 @@ + + + + jQuery UI Draggable - Constrained to one axis + + + + + + + + + + +
+

I can be dragged only vertically

+
+ +
+

I can be dragged only horizontally

+
+ + + diff --git a/demos/draggable/containment.html b/demos/draggable/containment.html new file mode 100644 index 000000000..09a6a497a --- /dev/null +++ b/demos/draggable/containment.html @@ -0,0 +1,38 @@ + + + + jQuery UI Draggable - Grid + + + + + + + + + + +
+

I'm contained within the window

+
+ +
+

I'm contained within the document

+
+ +
+

I'm contained within my parent

+
+ +
+ + + diff --git a/demos/draggable/default.html b/demos/draggable/default.html new file mode 100644 index 000000000..a8c124d20 --- /dev/null +++ b/demos/draggable/default.html @@ -0,0 +1,26 @@ + + + + jQuery UI Draggable - Default Demo + + + + + + + + + + +
+

Drag me around

+
+ + + diff --git a/demos/draggable/grid.html b/demos/draggable/grid.html new file mode 100644 index 000000000..ec5c9d3d8 --- /dev/null +++ b/demos/draggable/grid.html @@ -0,0 +1,31 @@ + + + + jQuery UI Draggable - Grid + + + + + + + + + + +
+

I can be dragged in a 20x20 grid system

+
+ +
+

I only follow a vertical 50 pixel grid

+
+ + + diff --git a/demos/draggable/index.html b/demos/draggable/index.html index e68d32cc4..f1548ccaa 100644 --- a/demos/draggable/index.html +++ b/demos/draggable/index.html @@ -9,6 +9,9 @@
Draggable
Default
+
Axis
+
Grid
+
Containment