2008-06-04 02:34:33 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2008-06-07 19:26:35 +00:00
|
|
|
<title>jQuery UI Draggable Test Suite</title>
|
2008-06-04 02:34:33 +00:00
|
|
|
|
2008-06-07 18:03:19 +00:00
|
|
|
<link rel="stylesheet" href="qunit/testsuite.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" src="qunit/testrunner.js"></script>
|
|
|
|
<script type="text/javascript" src="simulate/jquery.simulate.js"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="draggable.js"></script>
|
|
|
|
|
2008-06-07 19:26:35 +00:00
|
|
|
<style type="text/css">
|
2008-06-07 18:03:19 +00:00
|
|
|
html { border: 0; }
|
|
|
|
#main {
|
|
|
|
position:absolute !important;
|
|
|
|
top: -1000px !important;
|
|
|
|
left: -1000px !important;
|
|
|
|
}
|
|
|
|
</style>
|
2008-06-04 02:34:33 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2008-06-07 19:26:35 +00:00
|
|
|
<h1 id="header">jQuery UI Draggable Test Suite</h1>
|
|
|
|
<h2 id="banner"></h2>
|
|
|
|
<h2 id="userAgent"></h2>
|
|
|
|
|
|
|
|
<ol id="tests"></ol>
|
|
|
|
|
2008-09-15 20:26:42 +00:00
|
|
|
<div id="main" style="border: 1px solid black; padding: 10px; margin: 10px; height: 500px; overflow: auto;">
|
2008-06-07 20:12:36 +00:00
|
|
|
<div id="draggable1" style="background: green; width: 200px; height: 100px;">Relative</div>
|
|
|
|
<div id="draggable2" style="background: green; width: 200px; height: 100px; position: absolute; top: 10px; left: 10px;"><span>Absolute</span></div>
|
2008-09-15 20:26:42 +00:00
|
|
|
<div style='width: 1px; height: 1000px;'></div>
|
2008-06-07 19:26:35 +00:00
|
|
|
</div>
|
|
|
|
|
2008-09-15 20:26:42 +00:00
|
|
|
<div style="width: 1px; height: 2000px;"></div>
|
|
|
|
|
2008-06-04 02:34:33 +00:00
|
|
|
</body>
|
|
|
|
</html>
|