<script type="text/javascript" src="../../ui/ui.draggable.js"></script>\r
<script type="text/javascript">\r
$(function() {\r
- $("#draggable").draggable();\r
+ $("#draggable").draggable({ handle: "span", drag: function() { console.log(1); } });\r
});\r
</script>\r
</head>\r
<ul class="plugins">\r
<li>\r
Draggable\r
- <div id="draggable"></div>\r
+ <div id="draggable"><span>Handle</span></div>\r
+ <div style="height: 1000px;"></div>\r
</li>\r
</ul>\r
\r
+<div style="height: 1000px;"></div>\r
</body>\r
</html>\r