2008-09-20 17:42:04 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2009-02-07 14:09:07 +00:00
|
|
|
<title>Draggable Visual Test : Draggable option handle selector</title>
|
|
|
|
<link rel="stylesheet" href="../visual.css" type="text/css" />
|
2009-01-22 12:01:20 +00:00
|
|
|
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
|
2009-02-20 11:40:25 +00:00
|
|
|
<script type="text/javascript" src="../../../jquery-1.3.2.js"></script>
|
2009-09-17 10:39:12 +00:00
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
|
2008-09-20 17:42:04 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
2008-12-13 09:53:02 +00:00
|
|
|
$("#draggable").draggable({
|
2009-02-07 14:09:07 +00:00
|
|
|
handle: ".handle"
|
2008-12-13 09:53:02 +00:00
|
|
|
});
|
2008-09-20 17:42:04 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2009-02-07 14:09:07 +00:00
|
|
|
<div id="draggable">
|
|
|
|
<p> Draggable </p>
|
|
|
|
<p class="handle">Handle</p>
|
|
|
|
<p>Not handle</p>
|
|
|
|
</div>
|
2008-09-20 17:42:04 +00:00
|
|
|
</body>
|
|
|
|
</html>
|