jquery-ui/tests/visual/draggable.handle.html

31 lines
695 B
HTML
Raw Normal View History

2008-09-20 17:42:04 +00:00
<!doctype html>
<html lang="en">
<head>
<title>Simple Draggable with Handle</title>
<link rel="stylesheet" href="all.css" type="text/css">
<link rel="stylesheet" href="../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../jquery-1.3.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() {
$("#draggable").draggable({
handle: "span"
});
2008-09-20 17:42:04 +00:00
});
</script>
</head>
<body>
<ul class="plugins">
<li class="plugin">
2008-09-20 17:42:04 +00:00
Draggable
<div id="draggable">
<span>Handle</span>
</div>
</li>
</ul>
</body>
</html>