aboutsummaryrefslogtreecommitdiffstats
path: root/demos/sortable/delay.html
diff options
context:
space:
mode:
authorChi Cheng <cloudream@gmail.com>2009-01-04 09:20:45 +0000
committerChi Cheng <cloudream@gmail.com>2009-01-04 09:20:45 +0000
commit2d86e486f80bd5cf71db837c73a51befa45c6444 (patch)
treed26a0d73281cfed1b841557023d4bad3a69b2df8 /demos/sortable/delay.html
parent27ea38395e5e853ae401303d3ec7dfe6bc83393a (diff)
downloadjquery-ui-2d86e486f80bd5cf71db837c73a51befa45c6444.tar.gz
jquery-ui-2d86e486f80bd5cf71db837c73a51befa45c6444.zip
demos: fixed content out of boxes, font-size and paddings
Diffstat (limited to 'demos/sortable/delay.html')
-rw-r--r--demos/sortable/delay.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/demos/sortable/delay.html b/demos/sortable/delay.html
new file mode 100644
index 000000000..27f5151dc
--- /dev/null
+++ b/demos/sortable/delay.html
@@ -0,0 +1,46 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Sortable - Delay / Distance Demo</title>
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3pre.js"></script>
+ <script type="text/javascript" src="../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../ui/ui.sortable.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ .demo ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 15px; }
+ .demo li { margin: 5px; padding: 5px; font-size: 1.2em; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $(".demo ul:eq(0)").sortable({
+ delay: 1000
+ });
+ });
+ </script>
+</head>
+<body>
+<div class="demo">
+
+<p>Delay of 1000ms</p>
+
+<ul>
+ <li class="ui-state-default">Item 1</li>
+ <li class="ui-state-default">Item 2</li>
+ <li class="ui-state-default">Item 3</li>
+ <li class="ui-state-default">Item 4</li>
+ <li class="ui-state-default">Item 5</li>
+</ul>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>