aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2014-04-24 20:11:05 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2014-04-24 20:11:07 +0200
commit905c5dbf19511c49e93484e81f8c8fd3c315072c (patch)
treefe127936fd467000b3a224ee6942aa418acf5916 /demos/draggable
parent22de101e406c49697fee54a778f94d3535750342 (diff)
downloadjquery-ui-905c5dbf19511c49e93484e81f8c8fd3c315072c.tar.gz
jquery-ui-905c5dbf19511c49e93484e81f8c8fd3c315072c.zip
Demos: Delete useless interactions demos
All three delay-start demos use by examples for distance and delay while the default works fine. The connected-through tabs demo is just ridiculous.
Diffstat (limited to 'demos/draggable')
-rw-r--r--demos/draggable/delay-start.html38
-rw-r--r--demos/draggable/index.html1
2 files changed, 0 insertions, 39 deletions
diff --git a/demos/draggable/delay-start.html b/demos/draggable/delay-start.html
deleted file mode 100644
index 2464993cd..000000000
--- a/demos/draggable/delay-start.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Draggable - Delay start</title>
- <link rel="stylesheet" href="../../themes/base/all.css">
- <script src="../../jquery.js"></script>
- <script src="../../ui/core.js"></script>
- <script src="../../ui/widget.js"></script>
- <script src="../../ui/mouse.js"></script>
- <script src="../../ui/draggable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #draggable, #draggable2 { width: 120px; height: 120px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
- </style>
- <script>
- $(function() {
- $( "#draggable" ).draggable({ distance: 20 });
- $( "#draggable2" ).draggable({ delay: 1000 });
- $( ".ui-draggable" ).disableSelection();
- });
- </script>
-</head>
-<body>
-
-<div id="draggable" class="ui-widget-content">
- <p>Only if you drag me by 20 pixels, the dragging will start</p>
-</div>
-
-<div id="draggable2" class="ui-widget-content">
- <p>Regardless of the distance, you have to drag and wait for 1000ms before dragging starts</p>
-</div>
-
-<div class="demo-description">
-<p>Delay the start of dragging for a number of milliseconds with the <code>delay</code> option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the <code>distance</code> option. </p>
-</div>
-</body>
-</html>
diff --git a/demos/draggable/index.html b/demos/draggable/index.html
index 48d050b1e..ceffb9b72 100644
--- a/demos/draggable/index.html
+++ b/demos/draggable/index.html
@@ -11,7 +11,6 @@
<li><a href="default.html">Default functionality</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="constrain-movement.html">Constrain movement</a></li>
- <li><a href="delay-start.html">Delay start</a></li>
<li><a href="snap-to.html">Snap to element or grid</a></li>
<li><a href="scroll.html">Auto-scroll</a></li>
<li><a href="revert.html">Revert position</a></li>