r1404 - trunk/demos/sortable
Author: paul.bakaus
Date: Wed Dec 31 06:17:03 2008
New Revision: 1404
Modified:
trunk/demos/sortable/connectwith.html
trunk/demos/sortable/default.html
trunk/demos/sortable/delaydistance.html
trunk/demos/sortable/droponempty.html
trunk/demos/sortable/droppable.html
trunk/demos/sortable/floating.html
trunk/demos/sortable/items.html
trunk/demos/sortable/placeholder.html
Log:
demos: added wrappers for sortables
Modified: trunk/demos/sortable/connectwith.html
==============================================================================
--- trunk/demos/sortable/connectwith.html (original)
+++ trunk/demos/sortable/connectwith.html Wed Dec 31 06:17:03 2008
@@ -8,8 +8,8 @@
<script type="text/javascript" src="../../ui/ui.sortable.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
- ul { list-style-type: none; margin: 0; padding: 0; float: left;
margin-right: 10px; }
- li { margin: 3px; padding: 2px; width: 120px; }
+ .demo ul { list-style-type: none; margin: 0; padding: 0; float: left;
margin-right: 10px; }
+ .demo li { margin: 3px; padding: 2px; width: 120px; }
</style>
<script type="text/javascript">
$(function() {
@@ -20,6 +20,7 @@
</script>
</head>
<body>
+<div class="demo">
<ul>
<li class="ui-state-default">Item 1</li>
@@ -36,6 +37,16 @@
<li class="ui-state-highlight">Item 4</li>
<li class="ui-state-highlight">Item 5</li>
</ul>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+
+The easiest way to make an element draggable. Hold down the mouse and drag
it around.
+
+
+</div><!-- End demo-description -->
</body>
</html>
Modified: trunk/demos/sortable/default.html
==============================================================================
--- trunk/demos/sortable/default.html (original)
+++ trunk/demos/sortable/default.html Wed Dec 31 06:17:03 2008
@@ -8,8 +8,8 @@
<script type="text/javascript" src="../../ui/ui.sortable.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
- ul { list-style-type: none; margin: 0; padding: 0; }
- li { margin: 3px; padding: 2px; }
+ .demo ul { list-style-type: none; margin: 0; padding: 0; }
+ .demo li { margin: 3px; padding: 2px; }
</style>
<script type="text/javascript">
$(function() {
@@ -18,6 +18,7 @@
</script>
</head>
<body>
+<div class="demo">
<ul>
<li class="ui-state-default">Item 1</li>
@@ -31,6 +32,16 @@
<li class="ui-state-default">Item 9</li>
<li class="ui-state-default">Item 10</li>
</ul>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+
+The easiest way to make an element draggable. Hold down the mouse and drag
it around.
+
+
+</div><!-- End demo-description -->
</body>
</html>
Modified: trunk/demos/sortable/delaydistance.html
==============================================================================
--- trunk/demos/sortable/delaydistance.html (original)
+++ trunk/demos/sortable/delaydistance.html Wed Dec 31 06:17:03 2008
@@ -8,8 +8,8 @@
<script type="text/javascript" src="../../ui/ui.sortable.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
- ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 20px; }
- li { margin: 3px; padding: 2px; }
+ .demo ul { list-style-type: none; margin: 0; padding: 0; margin-bottom:
20px; }
+ .demo li { margin: 3px; padding: 2px; }
</style>
<script type="text/javascript">
$(function() {
@@ -26,6 +26,7 @@
</script>
</head>
<body>
+<div class="demo">
Delay of 1000ms
@@ -46,6 +47,16 @@
<li class="ui-state-default">Item 4</li>
<li class="ui-state-default">Item 5</li>
</ul>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+
+The easiest way to make an element draggable. Hold down the mouse and drag
it around.
+
+
+</div><!-- End demo-description -->
</body>
</html>
Modified: trunk/demos/sortable/droponempty.html
==============================================================================
--- trunk/demos/sortable/droponempty.html (original)
+++ trunk/demos/sortable/droponempty.html Wed Dec 31 06:17:03 2008
@@ -8,8 +8,8 @@
<script type="text/javascript" src="../../ui/ui.sortable.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
- ul { list-style-type: none; margin: 0; padding: 0; float: left;
margin-right: 10px; background: #eee; padding: 5px; width: 133px;}
- li { margin: 3px; padding: 2px; width: 120px; }
+ .demo ul { list-style-type: none; margin: 0; padding: 0; float: left;
margin-right: 10px; background: #eee; padding: 5px; width: 133px;}
+ .demo li { margin: 3px; padding: 2px; width: 120px; }
</style>
<script type="text/javascript">
$(function() {
@@ -25,6 +25,7 @@
</script>
</head>
<body>
+<div class="demo">
<ul class='droptrue'>
<li class="ui-state-default">Can be dropped..</li>
@@ -46,6 +47,16 @@
</ul>
<br clear="both" />
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+
+The easiest way to make an element draggable. Hold down the mouse and drag
it around.
+
+
+</div><!-- End demo-description -->
</body>
</html>
Modified: trunk/demos/sortable/droppable.html
==============================================================================
--- trunk/demos/sortable/droppable.html (original)
+++ trunk/demos/sortable/droppable.html Wed Dec 31 06:17:03 2008
@@ -27,6 +27,7 @@
</script>
</head>
<body>
+<div class="demo">
<div id="droppable" class="ui-widget-header">
Drop a list item on me - sortable items are automatically connected to
droppables.
@@ -39,6 +40,16 @@
<li class="ui-state-default">Item 4</li>
<li class="ui-state-default">Item 5</li>
</ul>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+
+The easiest way to make an element draggable. Hold down the mouse and drag
it around.
+
+
+</div><!-- End demo-description -->
</body>
</html>
Modified: trunk/demos/sortable/floating.html
==============================================================================
--- trunk/demos/sortable/floating.html (original)
+++ trunk/demos/sortable/floating.html Wed Dec 31 06:17:03 2008
@@ -18,6 +18,7 @@
</script>
</head>
<body>
+<div class="demo">
<ul id="sortable">
<li class="ui-state-default">Item 1</li>
@@ -33,6 +34,16 @@
<li class="ui-state-default">Item 11</li>
<li class="ui-state-default">Item 12</li>
</ul>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+
+The easiest way to make an element draggable. Hold down the mouse and drag
it around.
+
+
+</div><!-- End demo-description -->
</body>
</html>
Modified: trunk/demos/sortable/items.html
==============================================================================
--- trunk/demos/sortable/items.html (original)
+++ trunk/demos/sortable/items.html Wed Dec 31 06:17:03 2008
@@ -23,6 +23,7 @@
</script>
</head>
<body>
+<div class="demo">
Completely exclude items from the sorting logic using the 'items'
option
@@ -43,6 +44,16 @@
<li class="ui-state-default">Item 4</li>
<li class="ui-state-default">Item 5</li>
</ul>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+
+The easiest way to make an element draggable. Hold down the mouse and drag
it around.
+
+
+</div><!-- End demo-description -->
</body>
</html>
Modified: trunk/demos/sortable/placeholder.html
==============================================================================
--- trunk/demos/sortable/placeholder.html (original)
+++ trunk/demos/sortable/placeholder.html Wed Dec 31 06:17:03 2008
@@ -20,6 +20,7 @@
</script>
</head>
<body>
+<div class="demo">
<ul id="sortable">
<li class="ui-state-default">Item 1</li>
@@ -33,6 +34,16 @@
<li class="ui-state-default">Item 9</li>
<li class="ui-state-default">Item 10</li>
</ul>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+
+The easiest way to make an element draggable. Hold down the mouse and drag
it around.
+
+
+</div><!-- End demo-description -->
</body>
</html>