aboutsummaryrefslogtreecommitdiffstats
path: root/demos/droppable
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-01-18 03:21:47 +0000
committerRichard Worth <rdworth@gmail.com>2009-01-18 03:21:47 +0000
commit3e4ed582b7a2f9d0d487558e7342dd30fc2a8ab2 (patch)
treed0975137a137e3907fa6d3dc3367214f67b78a9f /demos/droppable
parentbf73f8c5bec7c097fe0cf36c000328c40423641d (diff)
downloadjquery-ui-3e4ed582b7a2f9d0d487558e7342dd30fc2a8ab2.tar.gz
jquery-ui-3e4ed582b7a2f9d0d487558e7342dd30fc2a8ab2.zip
demos/droppable: fixed up description of activeClass part of visual feedback demo
Diffstat (limited to 'demos/droppable')
-rw-r--r--demos/droppable/visual-feedback.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/droppable/visual-feedback.html b/demos/droppable/visual-feedback.html
index 1e3f233eb..ae3f7d0fc 100644
--- a/demos/droppable/visual-feedback.html
+++ b/demos/droppable/visual-feedback.html
@@ -24,8 +24,8 @@
$("#draggable2").draggable();
$("#droppable2").droppable({
+ accept: "#draggable2",
activeClass: 'ui-state-hover',
- hoverClass: 'ui-state-active',
drop: function(event, ui) {
$(this).addClass('ui-state-highlight').find('p').html('Dropped!');
}
@@ -37,7 +37,7 @@
<body>
<div class="demo">
-<h3 class="docs">Feedback on hover only:</h3>
+<h3 class="docs">Feedback on hover:</h3>
<div id="draggable" class="ui-widget-content">
<p>Drag me to my target</p>
@@ -47,7 +47,7 @@
<p>Drop here</p>
</div>
-<h3 class="docs">Feedback on hover and when dropped:</h3>
+<h3 class="docs">Feedback on activating draggable:</h3>
<div id="draggable2" class="ui-widget-content">
<p>Drag me to my target</p>