jquery-ui/tests/visual/draggable.html

28 lines
736 B
HTML
Raw Normal View History

2008-06-09 05:42:13 +00:00
<!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", drag: function() { console.log(1); } });
2008-06-09 05:42:13 +00:00
});
</script>
</head>
<body>
<ul class="plugins">
<li>
Draggable
<div id="draggable"><span>Handle</span></div>
<div style="height: 1000px;"></div>
2008-06-09 05:42:13 +00:00
</li>
</ul>
<div style="height: 1000px;"></div>
2008-06-09 05:42:13 +00:00
</body>
</html>