2011-08-03 21:12:44 +00:00
|
|
|
<!doctype html>
|
2009-01-07 03:31:15 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2011-08-03 21:12:44 +00:00
|
|
|
<meta charset="utf-8">
|
2009-01-07 03:31:15 +00:00
|
|
|
<title>jQuery UI Sortable Test Suite</title>
|
|
|
|
|
2011-07-28 11:34:31 +00:00
|
|
|
<script src="../../jquery.js"></script>
|
2014-06-10 11:55:45 +00:00
|
|
|
<link rel="stylesheet" href="../../../external/qunit/qunit.css">
|
|
|
|
<script src="../../../external/qunit/qunit.js"></script>
|
2014-08-22 21:01:50 +00:00
|
|
|
<script src="../../../external/jquery-simulate/jquery.simulate.js"></script>
|
2012-04-23 14:43:01 +00:00
|
|
|
<script src="../testsuite.js"></script>
|
2011-10-28 19:58:33 +00:00
|
|
|
<script>
|
2012-04-23 14:43:01 +00:00
|
|
|
TestHelpers.loadResources({
|
2013-12-02 18:36:12 +00:00
|
|
|
css: [ "core" ],
|
2011-10-28 19:58:33 +00:00
|
|
|
js: [
|
2013-12-02 18:36:12 +00:00
|
|
|
"ui/core.js",
|
|
|
|
"ui/widget.js",
|
|
|
|
"ui/mouse.js",
|
2014-01-14 09:10:27 +00:00
|
|
|
"ui/sortable.js",
|
|
|
|
"ui/draggable.js"
|
2011-10-28 19:58:33 +00:00
|
|
|
]
|
|
|
|
});
|
|
|
|
</script>
|
2009-01-07 03:31:15 +00:00
|
|
|
|
2012-04-23 14:15:17 +00:00
|
|
|
<script src="sortable_common.js"></script>
|
2011-08-03 21:12:44 +00:00
|
|
|
<script src="sortable_core.js"></script>
|
|
|
|
<script src="sortable_events.js"></script>
|
|
|
|
<script src="sortable_methods.js"></script>
|
|
|
|
<script src="sortable_options.js"></script>
|
2012-11-03 20:17:16 +00:00
|
|
|
<script src="sortable_test_helpers.js"></script>
|
2011-08-03 21:12:44 +00:00
|
|
|
|
|
|
|
<script src="../swarminject.js"></script>
|
2012-11-02 00:54:52 +00:00
|
|
|
<style>
|
|
|
|
#sortable, #sortable2 {
|
|
|
|
position:relative;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 1px;
|
|
|
|
border-width: 0;
|
|
|
|
}
|
2013-10-30 05:00:18 +00:00
|
|
|
#sortable li, #sortable2 li{
|
2012-11-02 00:54:52 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border-width: 0;
|
|
|
|
height:19px;
|
|
|
|
}
|
2013-04-02 14:42:21 +00:00
|
|
|
#sortable-table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2012-11-02 00:54:52 +00:00
|
|
|
</style>
|
2009-01-07 03:31:15 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2014-02-20 16:02:23 +00:00
|
|
|
<div id="qunit"></div>
|
2011-02-23 11:46:13 +00:00
|
|
|
<div id="qunit-fixture">
|
2009-01-07 03:31:15 +00:00
|
|
|
|
2013-10-30 05:00:18 +00:00
|
|
|
<ul id="sortable" class="connectWith">
|
|
|
|
<li>Item 1</li>
|
|
|
|
<li>Item 2</li>
|
|
|
|
<li>Item 3</li>
|
|
|
|
<li>Item 4</li>
|
|
|
|
<li>Item 5</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul id="sortable2" class="connectWith">
|
2011-08-03 21:12:44 +00:00
|
|
|
<li>Item 1</li>
|
|
|
|
<li>Item 2</li>
|
|
|
|
<li>Item 3</li>
|
|
|
|
<li>Item 4</li>
|
|
|
|
<li>Item 5</li>
|
|
|
|
</ul>
|
|
|
|
|
2013-02-21 01:16:29 +00:00
|
|
|
<table id="sortable-table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2014-10-31 13:24:29 +00:00
|
|
|
<td>1.1</td>
|
|
|
|
<td>1.2</td>
|
2013-02-21 01:16:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2014-10-31 13:24:29 +00:00
|
|
|
<td>1.3</td>
|
|
|
|
<td>1.4</td>
|
2013-02-21 01:16:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2014-10-31 13:24:29 +00:00
|
|
|
<td>1.5</td>
|
|
|
|
<td>1.6</td>
|
2013-02-21 01:16:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2014-10-31 13:24:29 +00:00
|
|
|
<td>1.7</td>
|
|
|
|
<td>1.8</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>2.1</td>
|
|
|
|
<td>2.2</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>2.3</td>
|
|
|
|
<td>2.4</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>2.5</td>
|
|
|
|
<td>2.6</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>2.7</td>
|
|
|
|
<td>2.8</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>3.1</td>
|
|
|
|
<td>3.2</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>3.3</td>
|
|
|
|
<td>3.4</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>3.5</td>
|
|
|
|
<td>3.6</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>3.7</td>
|
|
|
|
<td>3.8</td>
|
2013-02-21 01:16:29 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2013-03-07 17:55:00 +00:00
|
|
|
<div id="sortable-images">
|
2014-09-03 17:13:25 +00:00
|
|
|
<img src="../../images/jqueryui_32x32.png" alt="">
|
|
|
|
<img src="../../images/jqueryui_32x32.png" alt="">
|
|
|
|
<img src="../../images/jqueryui_32x32.png" alt="">
|
|
|
|
<img src="../../images/jqueryui_32x32.png" alt="">
|
2013-03-07 17:55:00 +00:00
|
|
|
</div>
|
|
|
|
|
2011-08-03 21:12:44 +00:00
|
|
|
</div>
|
2009-01-07 03:31:15 +00:00
|
|
|
</body>
|
|
|
|
</html>
|