2008-09-20 17:42:04 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2008-12-13 09:53:02 +00:00
|
|
|
<title>Simple Draggable with Handle</title>
|
2008-12-13 08:35:02 +00:00
|
|
|
<link rel="stylesheet" href="all.css" type="text/css">
|
2008-12-13 09:53:02 +00:00
|
|
|
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
|
2009-01-08 05:44:34 +00:00
|
|
|
<script type="text/javascript" src="../../jquery-1.3pre.js"></script>
|
2008-09-20 17:42:04 +00:00
|
|
|
<script type="text/javascript" src="../../ui/ui.core.js"></script>
|
|
|
|
<script type="text/javascript" src="../../ui/ui.draggable.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
2008-12-13 09:53:02 +00:00
|
|
|
$("#draggable").draggable({
|
|
|
|
handle: "span"
|
|
|
|
});
|
2008-09-20 17:42:04 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<ul class="plugins">
|
2008-12-13 10:23:26 +00:00
|
|
|
<li class="plugin">
|
2008-09-20 17:42:04 +00:00
|
|
|
Draggable
|
|
|
|
<div id="draggable">
|
|
|
|
<span>Handle</span>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|