Search and Top Navigation
Ticket #3910: test.html
File test.html, 0.8 KB (added by leason, January 22, 2009 04:28PM UTC)
Test use case for nested LI draggables.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>jQuery Draggable Nested LI's</title>
<script src="jquery.js"></script>
<script src="ui/ui.core.js"></script>
<script src="ui/ui.draggable.js"></script>
<script>
$(document).ready(function(){
$("LI").draggable();
});
</script>
</head>
<body>
<ul>
<li>Test 1</li>
<li>Test 2
<ul>
<li>Test 2.1</li>
<li>Test 2.2
<ul>
<li>Test 2.2.1</li>
<li>Test 2.2.2</li>
<li>Test 2.2.3</li>
</ul>
</li>
<li>Test 2.3</li>
</ul>
</li>
<li>Test 3
<ul>
<li>Test 3.1</li>
<li>Test 3.2</li>
</ul>
</li>
</ul>
</body>
</html>
Download in other formats:
Original Format
File test.html, 0.8 KB (added by leason, January 22, 2009 04:28PM UTC)
Test use case for nested LI draggables.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>jQuery Draggable Nested LI's</title>
<script src="jquery.js"></script>
<script src="ui/ui.core.js"></script>
<script src="ui/ui.draggable.js"></script>
<script>
$(document).ready(function(){
$("LI").draggable();
});
</script>
</head>
<body>
<ul>
<li>Test 1</li>
<li>Test 2
<ul>
<li>Test 2.1</li>
<li>Test 2.2
<ul>
<li>Test 2.2.1</li>
<li>Test 2.2.2</li>
<li>Test 2.2.3</li>
</ul>
</li>
<li>Test 2.3</li>
</ul>
</li>
<li>Test 3
<ul>
<li>Test 3.1</li>
<li>Test 3.2</li>
</ul>
</li>
</ul>
</body>
</html>