From e9a162a23c5aed036361b3843fc8f321912494de Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Wed, 31 Dec 2008 14:02:14 +0000 Subject: demos: added demo wrappers, fixed some issues with non explicit css rules --- demos/draggable/axis.html | 12 +++++++++++- demos/draggable/containment.html | 12 +++++++++++- demos/draggable/cursorat.html | 12 +++++++++++- demos/draggable/default.html | 12 ++++++++++++ demos/draggable/delaydistance.html | 12 +++++++++++- demos/draggable/grid.html | 12 +++++++++++- demos/draggable/handle.html | 12 +++++++++++- demos/draggable/helper.html | 10 ++++++++++ demos/draggable/opacity.html | 12 +++++++++++- demos/draggable/revert.html | 12 +++++++++++- demos/draggable/scroll.html | 12 +++++++++++- demos/draggable/snap.html | 12 +++++++++++- demos/draggable/sortable.html | 18 ++++++++++++++---- demos/draggable/zindexstack.html | 12 +++++++++++- 14 files changed, 157 insertions(+), 15 deletions(-) (limited to 'demos/draggable') diff --git a/demos/draggable/axis.html b/demos/draggable/axis.html index 61dd072fb..e09137252 100644 --- a/demos/draggable/axis.html +++ b/demos/draggable/axis.html @@ -20,7 +20,8 @@ - +
+

I can be dragged only vertically

@@ -29,5 +30,14 @@

I can be dragged only horizontally

+ + +
+ +

+ +

+ +
diff --git a/demos/draggable/containment.html b/demos/draggable/containment.html index 9ffc4c95b..8bcbb6556 100644 --- a/demos/draggable/containment.html +++ b/demos/draggable/containment.html @@ -19,7 +19,8 @@ - +
+

I'm contained within the window

@@ -32,6 +33,15 @@

I'm contained within my parent

+ + +
+ +

+ +

+ +
diff --git a/demos/draggable/cursorat.html b/demos/draggable/cursorat.html index e1c0c1b52..ef4bdc5de 100644 --- a/demos/draggable/cursorat.html +++ b/demos/draggable/cursorat.html @@ -19,7 +19,8 @@ - +
+

I will always stick to the center (relative to the mouse)

@@ -32,5 +33,14 @@

My cursor position is only controlled for the 'bottom' value

+ + +
+ +

+ +

+ +
diff --git a/demos/draggable/default.html b/demos/draggable/default.html index 55a454ab9..4989c4422 100644 --- a/demos/draggable/default.html +++ b/demos/draggable/default.html @@ -18,9 +18,21 @@ +
+

Drag me around

+
+ +
+ +

+The easiest way to make an element draggable. Hold down the mouse and drag it around. +

+ +
+ diff --git a/demos/draggable/delaydistance.html b/demos/draggable/delaydistance.html index 64b1ff684..ddca97184 100644 --- a/demos/draggable/delaydistance.html +++ b/demos/draggable/delaydistance.html @@ -18,7 +18,8 @@ - +
+

Only if you drag me by 20 pixels, the dragging will start

@@ -27,5 +28,14 @@

Regardless of the distance, you have to drag and wait for 1000ms before dragging starts

+ + +
+ +

+ +

+ +
diff --git a/demos/draggable/grid.html b/demos/draggable/grid.html index 03741e4dc..0b717d7eb 100644 --- a/demos/draggable/grid.html +++ b/demos/draggable/grid.html @@ -18,7 +18,8 @@ - +
+

I can be dragged in a 20x20 grid system

@@ -27,5 +28,14 @@

I only follow a vertical 50 pixel grid

+ + +
+ +

+ +

+ +
diff --git a/demos/draggable/handle.html b/demos/draggable/handle.html index 5dc950050..aa7acfd30 100644 --- a/demos/draggable/handle.html +++ b/demos/draggable/handle.html @@ -18,10 +18,20 @@ - +
+

I can be dragged only by this handle

+
+ +
+ +

+ +

+ +
diff --git a/demos/draggable/helper.html b/demos/draggable/helper.html index 5bbdde4aa..0039b9895 100644 --- a/demos/draggable/helper.html +++ b/demos/draggable/helper.html @@ -25,6 +25,7 @@ +

Original

@@ -38,5 +39,14 @@

Custom helper (in combination with cursorAt)

+
+ +
+ +

+ +

+ +
diff --git a/demos/draggable/opacity.html b/demos/draggable/opacity.html index b9e5481ec..652be35b5 100644 --- a/demos/draggable/opacity.html +++ b/demos/draggable/opacity.html @@ -18,7 +18,8 @@ - +
+

Opacity set to 0.5

@@ -27,5 +28,14 @@

Opacity set to 0.5, using 'clone' as helper

+ + +
+ +

+ +

+ +
diff --git a/demos/draggable/revert.html b/demos/draggable/revert.html index 87822f8cb..6e9ceae70 100644 --- a/demos/draggable/revert.html +++ b/demos/draggable/revert.html @@ -18,7 +18,8 @@ - +
+

Revert the original

@@ -27,5 +28,14 @@

Revert the helper

+ + +
+ +

+ +

+ +
diff --git a/demos/draggable/scroll.html b/demos/draggable/scroll.html index ee1abd2f2..f4863e954 100644 --- a/demos/draggable/scroll.html +++ b/demos/draggable/scroll.html @@ -19,7 +19,8 @@ - +
+

Scroll set to true, default settings

@@ -34,5 +35,14 @@
+
+ +
+ +

+ +

+ +
diff --git a/demos/draggable/snap.html b/demos/draggable/snap.html index 0394196a5..1d76ca3cd 100644 --- a/demos/draggable/snap.html +++ b/demos/draggable/snap.html @@ -22,7 +22,8 @@ - +
+

I'm a snap target

@@ -50,6 +51,15 @@
+ + +
+ +

+ +

+ +
diff --git a/demos/draggable/sortable.html b/demos/draggable/sortable.html index 292f3e31d..0e2df15c8 100644 --- a/demos/draggable/sortable.html +++ b/demos/draggable/sortable.html @@ -9,21 +9,22 @@ - +
+ @@ -36,5 +37,14 @@
  • Item 5
  • +
    + +
    + +

    + +

    + +
    diff --git a/demos/draggable/zindexstack.html b/demos/draggable/zindexstack.html index d41c6a5c6..bbbbba045 100644 --- a/demos/draggable/zindexstack.html +++ b/demos/draggable/zindexstack.html @@ -19,7 +19,8 @@ - +
    +

    I always have a higher z-index than my siblings during drag

    @@ -38,5 +39,14 @@
    + + +
    + +

    + +

    + +
    -- cgit v1.2.3