--- /dev/null
+<!DOCTYPE html>\r
+<html lang="en">\r
+<head>\r
+ <title>Simple Draggable</title>\r
+ <link rel="stylesheet" href="all.css" type="text/css" media="screen">\r
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>\r
+ <script type="text/javascript" src="../../ui/ui.core.js"></script>\r
+ <script type="text/javascript" src="../../ui/ui.draggable.js"></script>\r
+ <script type="text/javascript">\r
+ $(function() {\r
+ $("#draggable").draggable({ handle: "span" });\r
+ });\r
+ </script>\r
+</head>\r
+<body>\r
+\r
+<ul class="plugins">\r
+<li>\r
+ Draggable\r
+ <div id="draggable">\r
+ <span>Handle</span>\r
+ </div>\r
+</li>\r
+</ul>\r
+\r
+</body>\r
+</html>\r
<script type="text/javascript" src="../../ui/ui.draggable.js"></script>\r
<script type="text/javascript">\r
$(function() {\r
- $("#draggable").draggable({ handle: "span", drag: function() { console.log(1); } });\r
+ $("#draggable").draggable();\r
});\r
</script>\r
</head>\r
<ul class="plugins">\r
<li>\r
Draggable\r
- <div id="draggable"><span>Handle</span></div>\r
- <div style="height: 1000px;"></div>\r
+ <div id="draggable"></div>\r
</li>\r
</ul>\r
\r
-<div style="height: 1000px;"></div>\r
</body>\r
</html>\r