aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/draggable.handle.html
blob: 798898363baaf06b1a71b7248e015d2b9caf3051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!doctype html>
<html lang="en">
<head>
	<title>Simple Draggable</title>
	<link rel="stylesheet" href="all.css" type="text/css" media="screen">
	<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
	<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" });
	});
	</script>
</head>
<body>

<ul class="plugins">
<li>
	Draggable
	<div id="draggable">
		<span>Handle</span>
	</div>
</li>
</ul>

</body>
</html>