From 3909e6d89e01e4cd8777377c63037896bb95aa2f Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 25 Nov 2011 21:18:19 +0100 Subject: new jq layout --- .../demos/droppable/propagation.html | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 src/main/webapp/jquery-ui-1.9pre/demos/droppable/propagation.html (limited to 'src/main/webapp/jquery-ui-1.9pre/demos/droppable/propagation.html') diff --git a/src/main/webapp/jquery-ui-1.9pre/demos/droppable/propagation.html b/src/main/webapp/jquery-ui-1.9pre/demos/droppable/propagation.html new file mode 100644 index 0000000..40587b1 --- /dev/null +++ b/src/main/webapp/jquery-ui-1.9pre/demos/droppable/propagation.html @@ -0,0 +1,80 @@ + + + + + jQuery UI Droppable - Prevent propagation + + + + + + + + + + + + + +
+ +
+

Drag me to my target

+
+ +
+

Outer droppable

+
+

Inner droppable (not greedy)

+
+
+ +
+

Outer droppable

+
+

Inner droppable (greedy)

+
+
+ +
+ + + +
+

When working with nested droppables — for example, you may have an editable directory structure displayed as a tree, with folder and document nodes — the greedy option set to true prevents event propagation when a draggable is dropped on a child node (droppable).

+
+ + + -- cgit v1.1