aboutsummaryrefslogtreecommitdiffstats
path: root/demos/droppable/activeclass.html
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-30 15:51:51 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-30 15:51:51 +0000
commit9fc23e11080da1422403c762383c9b4bd1f6457e (patch)
tree72dac0ca1fbcd8a24e29466e557f3a942eb43660 /demos/droppable/activeclass.html
parentd87a60ec57ed131e86e2a706921840d40741f732 (diff)
downloadjquery-ui-9fc23e11080da1422403c762383c9b4bd1f6457e.tar.gz
jquery-ui-9fc23e11080da1422403c762383c9b4bd1f6457e.zip
set svn:eol-style to native
Diffstat (limited to 'demos/droppable/activeclass.html')
-rw-r--r--demos/droppable/activeclass.html80
1 files changed, 40 insertions, 40 deletions
diff --git a/demos/droppable/activeclass.html b/demos/droppable/activeclass.html
index 97cdee0da..90a8b6cc9 100644
--- a/demos/droppable/activeclass.html
+++ b/demos/droppable/activeclass.html
@@ -1,40 +1,40 @@
-<!doctype html>
-<html lang="en">
-<head>
- <title>jQuery UI Droppable - activeClass</title>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
- <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
- <script type="text/javascript" src="../../jquery-1.2.6.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>
- <style type="text/css">
- .ui-widget-header { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
- .ui-widget-content { width: 100px; height: 100px; 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 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>
-
-</body>
-</html>
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Droppable - activeClass</title>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.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>
+ <style type="text/css">
+ .ui-widget-header { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
+ .ui-widget-content { width: 100px; height: 100px; 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 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>
+
+</body>
+</html>