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>
|
|
|
|
|
2015-04-17 16:13:38 +00:00
|
|
|
<script src="../../../external/requirejs/require.js"></script>
|
2015-04-06 18:50:39 +00:00
|
|
|
<script src="../../lib/css.js" data-modules="core"></script>
|
|
|
|
<script src="../../lib/bootstrap.js" data-widget="sortable"></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;
|
|
|
|
}
|
2015-07-16 01:10:19 +00:00
|
|
|
#sortable-table,
|
|
|
|
#sortable-table2 {
|
2013-04-02 14:42:21 +00:00
|
|
|
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>
|
|
|
|
|
2015-07-16 01:10:19 +00:00
|
|
|
<!-- This table has rows of varying height -->
|
|
|
|
<table id="sortable-table2">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>1<br>1</td>
|
|
|
|
<td>1</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>2</td>
|
|
|
|
<td>2</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>3</td>
|
|
|
|
<td>3</td>
|
|
|
|
</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>
|