aboutsummaryrefslogtreecommitdiffstats
path: root/demos/droppable
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2009-01-20 13:33:59 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2009-01-20 13:33:59 +0000
commit55f3ffb7b9bdbb566406ec3a1bc068e90b6e2bd7 (patch)
treeb0e75d55b1a7acc4b4c7caf06cb7e6be34ce3075 /demos/droppable
parentdf2ef4224ae5fe62c780cdf6de2d20eebd38f480 (diff)
downloadjquery-ui-55f3ffb7b9bdbb566406ec3a1bc068e90b6e2bd7.tar.gz
jquery-ui-55f3ffb7b9bdbb566406ec3a1bc068e90b6e2bd7.zip
demos: removed unlinked droppable demos
Diffstat (limited to 'demos/droppable')
-rw-r--r--demos/droppable/accept.html57
-rw-r--r--demos/droppable/activeclass.html50
-rw-r--r--demos/droppable/greedy.html72
-rw-r--r--demos/droppable/hoverclass.html51
4 files changed, 0 insertions, 230 deletions
diff --git a/demos/droppable/accept.html b/demos/droppable/accept.html
deleted file mode 100644
index 4eb0851e3..000000000
--- a/demos/droppable/accept.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <title>jQuery UI Droppable - Accept Demo</title>
- <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
- <script type="text/javascript" src="../../jquery-1.3.js"></script>
- <script type="text/javascript" src="../../ui/ui.core.js"></script>
- <script type="text/javascript" src="../../ui/ui.draggable.js"></script>
- <script type="text/javascript" src="../../ui/ui.droppable.js"></script>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
- <style type="text/css">
- #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
- #draggable, #draggable-nonvalid { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px; }
- </style>
- <script type="text/javascript">
- $(function() {
-
- $("#draggable, #draggable-nonvalid").draggable();
-
- $("#droppable").droppable({
- accept: '#draggable',
- activeClass: 'ui-state-hover',
- hoverClass: 'ui-state-active',
- drop: function(event, ui) {
- $(this).addClass('ui-state-highlight').find('p').html('Dropped!');
- }
- });
-
- });
- </script>
-</head>
-<body>
-<div class="demo">
-
-<div id="draggable-nonvalid" class="ui-widget-content">
- <p>I'm draggable but can't be dropped</p>
-</div>
-
-<div id="draggable" class="ui-widget-content">
- <p>Drag me to my target</p>
-</div>
-
-<div id="droppable" class="ui-widget-header">
- <p>accept: '#draggable'</p>
-</div>
-
-</div><!-- End demo -->
-
-<div class="demo-description">
-
-<p>
-<!-- Add description here -->
-</p>
-
-</div><!-- End demo-description -->
-</body>
-</html>
diff --git a/demos/droppable/activeclass.html b/demos/droppable/activeclass.html
deleted file mode 100644
index d568c3103..000000000
--- a/demos/droppable/activeclass.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <title>jQuery UI Droppable - activeClass Demo</title>
- <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
- <script type="text/javascript" src="../../jquery-1.3.js"></script>
- <script type="text/javascript" src="../../ui/ui.core.js"></script>
- <script type="text/javascript" src="../../ui/ui.draggable.js"></script>
- <script type="text/javascript" src="../../ui/ui.droppable.js"></script>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
- <style type="text/css">
- #draggable { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px; }
- #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
- </style>
- <script type="text/javascript">
- $(function() {
- $("#draggable").draggable();
- $("#droppable").droppable({
- activeClass: 'ui-state-hover',
- hoverClass: 'ui-state-active',
- drop: function(event, ui) {
- $(this).addClass('ui-state-highlight').find('p').html('Dropped!');
- }
- });
-
- });
- </script>
-</head>
-<body>
-<div class="demo">
-
-<div id="draggable" class="ui-widget-content">
- <p>Drag me to my target</p>
-</div>
-
-<div id="droppable" class="ui-widget-header">
- <p>Drop here</p>
-</div>
-
-</div><!-- End demo -->
-
-<div class="demo-description">
-
-<p>
-<!-- Add description here -->
-</p>
-
-</div><!-- End demo-description -->
-</body>
-</html>
diff --git a/demos/droppable/greedy.html b/demos/droppable/greedy.html
deleted file mode 100644
index e3ece25bd..000000000
--- a/demos/droppable/greedy.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <title>jQuery UI Droppable - Greedy Demo</title>
- <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
- <script type="text/javascript" src="../../jquery-1.3.js"></script>
- <script type="text/javascript" src="../../ui/ui.core.js"></script>
- <script type="text/javascript" src="../../ui/ui.draggable.js"></script>
- <script type="text/javascript" src="../../ui/ui.droppable.js"></script>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
- <style type="text/css">
- #draggable { width: 100px; height: 40px; padding: 0.5em; float: left; margin: 10px; }
- #droppable, #droppable2 { width: 230px; height: 120px; padding: 0.5em; float: left; margin: 10px; }
- #droppable-inner, #droppable2-inner { width: 170px; height: 60px; padding: 0.5em; float: left; margin: 10px; }
- </style>
- <script type="text/javascript">
- $(function() {
-
- $("#draggable").draggable();
-
- $("#droppable, #droppable-inner").droppable({
- activeClass: 'ui-state-hover',
- hoverClass: 'ui-state-active',
- drop: function(event, ui) {
- $(this).addClass('ui-state-highlight').find('p').html('Dropped!');
- }
- });
-
- $("#droppable2, #droppable2-inner").droppable({
- greedy: true,
- activeClass: 'ui-state-hover',
- hoverClass: 'ui-state-active',
- drop: function(event, ui) {
- $(this).addClass('ui-state-highlight').find('p').html('Dropped!');
- }
- });
-
- });
- </script>
-</head>
-<body>
-<div class="demo">
-
-<div id="draggable" class="ui-widget-content">
- <p>Drag me to my target</p>
-</div>
-
-<div id="droppable" class="ui-widget-header">
- <p>Outer droppable</p>
- <div id="droppable-inner" class="ui-widget-header">
- <p>Inner droppable (not greedy)</p>
- </div>
-</div>
-
-<div id="droppable2" class="ui-widget-header">
- <p>Outer droppable</p>
- <div id="droppable2-inner" class="ui-widget-header">
- <p>Inner droppable (greedy)</p>
- </div>
-</div>
-
-</div><!-- End demo -->
-
-<div class="demo-description">
-
-<p>
-<!-- Add description here -->
-</p>
-
-</div><!-- End demo-description -->
-</body>
-</html>
diff --git a/demos/droppable/hoverclass.html b/demos/droppable/hoverclass.html
deleted file mode 100644
index 9b12177f4..000000000
--- a/demos/droppable/hoverclass.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!doctype html>
-<html lang="en">
-<head>
- <title>jQuery UI Droppable - hoverClass Demo</title>
- <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
- <script type="text/javascript" src="../../jquery-1.3.js"></script>
- <script type="text/javascript" src="../../ui/ui.core.js"></script>
- <script type="text/javascript" src="../../ui/ui.draggable.js"></script>
- <script type="text/javascript" src="../../ui/ui.droppable.js"></script>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
- <style type="text/css">
- #draggable { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px; }
- #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
- </style>
- <script type="text/javascript">
- $(function() {
- $("#draggable").draggable();
- $("#droppable").droppable({
- hoverClass: 'ui-state-active',
- drop: function(event, ui) {
- $(this).addClass('ui-state-highlight').find('p').html('Dropped!');
- }
- });
-
- });
- </script>
-</head>
-<body>
-<div class="demo">
-
-<div id="draggable" class="ui-widget-content">
- <p>Drag me to my target</p>
-</div>
-
-<div id="droppable" class="ui-widget-header">
- <p>Drop here</p>
-</div>
-
-<!-- add active class demo -->
-
-</div><!-- End demo -->
-
-<div class="demo-description">
-
-<p>
-<!-- Add description here -->
-</p>
-
-</div><!-- End demo-description -->
-</body>
-</html>