Ticket #4482: sortableTest.html

File sortableTest.html, 1.1 KB (added by bbonifield, 13 years ago)
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2  "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4<head>
5<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>
6<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"></script>
7<script type="text/javascript">
8$(function(){
9        $("#sortable").sortable();
10});
11</script>
12<style type="text/css">
13#sortable {
14        list-style-type: none;
15        padding: 0;
16        margin: 0;
17}
18#sortable li {
19        margin: 5px 0;
20        padding: 5px;
21        background: gray;
22        border: 1px solid black;
23}
24</style>
25</head>
26<body>
27<ul id="sortable">
28        <li>variable</li>
29        <li>variable<br/>content</li>
30        <li>Variable<br/>content<br/>size</li>
31        <li>variable<br/>content<br/>size<br/>doesn't</li>
32        <li>variable<br/>content<br/>size<br/>doesn't<br/>work</li>
33        <li>variable<br/>content<br/>size<br/>doesn't<br/>work<br/>in</li>
34        <li>variable<br/>content<br/>size<br/>doesn't<br/>work<br/>in<br/>IE</li>
35</ul>
36</body>
37</html>