aboutsummaryrefslogtreecommitdiffstats
path: root/demos/droppable
diff options
context:
space:
mode:
Diffstat (limited to 'demos/droppable')
-rw-r--r--demos/droppable/accept.html6
-rw-r--r--demos/droppable/activeclass.html2
-rw-r--r--demos/droppable/default.html2
-rw-r--r--demos/droppable/greedy.html8
-rw-r--r--demos/droppable/hoverclass.html2
-rw-r--r--demos/droppable/revert.html6
-rw-r--r--demos/droppable/tolerance.html12
7 files changed, 19 insertions, 19 deletions
diff --git a/demos/droppable/accept.html b/demos/droppable/accept.html
index f2b02ba93..e49a250ff 100644
--- a/demos/droppable/accept.html
+++ b/demos/droppable/accept.html
@@ -14,9 +14,9 @@
</style>
<script type="text/javascript">
$(function() {
-
+
$("#draggable,#draggable-nonvalid").draggable();
-
+
$("#droppable").droppable({
accept: '#draggable',
activeClass: 'ui-state-hover',
@@ -25,7 +25,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
});
</script>
</head>
diff --git a/demos/droppable/activeclass.html b/demos/droppable/activeclass.html
index 90a8b6cc9..9c97d3ea3 100644
--- a/demos/droppable/activeclass.html
+++ b/demos/droppable/activeclass.html
@@ -22,7 +22,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
});
</script>
</head>
diff --git a/demos/droppable/default.html b/demos/droppable/default.html
index 50f0a0877..051636a1c 100644
--- a/demos/droppable/default.html
+++ b/demos/droppable/default.html
@@ -20,7 +20,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
});
</script>
</head>
diff --git a/demos/droppable/greedy.html b/demos/droppable/greedy.html
index ab5e63b3b..d4bdb3fb9 100644
--- a/demos/droppable/greedy.html
+++ b/demos/droppable/greedy.html
@@ -15,9 +15,9 @@
</style>
<script type="text/javascript">
$(function() {
-
+
$("#draggable").draggable();
-
+
$("#droppable, #droppable-inner").droppable({
activeClass: 'ui-state-hover',
hoverClass: 'ui-state-active',
@@ -25,7 +25,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
$("#droppable2, #droppable2-inner").droppable({
greedy: true,
activeClass: 'ui-state-hover',
@@ -34,7 +34,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
});
</script>
</head>
diff --git a/demos/droppable/hoverclass.html b/demos/droppable/hoverclass.html
index 3e8e30ed2..be6e9f9b8 100644
--- a/demos/droppable/hoverclass.html
+++ b/demos/droppable/hoverclass.html
@@ -21,7 +21,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
});
</script>
</head>
diff --git a/demos/droppable/revert.html b/demos/droppable/revert.html
index 0f181ce1c..56a3ea369 100644
--- a/demos/droppable/revert.html
+++ b/demos/droppable/revert.html
@@ -14,10 +14,10 @@
</style>
<script type="text/javascript">
$(function() {
-
+
$("#draggable").draggable({ revert: 'valid' });
$("#draggable2").draggable({ revert: 'invalid' });
-
+
$("#droppable").droppable({
activeClass: 'ui-state-hover',
hoverClass: 'ui-state-active',
@@ -25,7 +25,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
});
</script>
</head>
diff --git a/demos/droppable/tolerance.html b/demos/droppable/tolerance.html
index d49cfcfdd..b0278c6ef 100644
--- a/demos/droppable/tolerance.html
+++ b/demos/droppable/tolerance.html
@@ -14,9 +14,9 @@
</style>
<script type="text/javascript">
$(function() {
-
+
$("#draggable").draggable();
-
+
$("#droppable").droppable({
activeClass: 'ui-state-hover',
hoverClass: 'ui-state-active',
@@ -24,7 +24,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
$("#droppable-fit").droppable({
activeClass: 'ui-state-hover',
hoverClass: 'ui-state-active',
@@ -33,7 +33,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
$("#droppable-pointer").droppable({
activeClass: 'ui-state-hover',
hoverClass: 'ui-state-active',
@@ -42,7 +42,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
$("#droppable-touch").droppable({
activeClass: 'ui-state-hover',
hoverClass: 'ui-state-active',
@@ -51,7 +51,7 @@
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
});
-
+
});
</script>
</head>