Ticket #5321: sortable.html

File sortable.html, 917 bytes (added by squeakytoy, 12 years ago)

Repro of the issue

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3<head>
4<style>
5li {
6        border: 1px solid #000;
7        background: #ccc;
8        list-style: none;
9        padding: 1em;
10}
11</style>
12<script type="text/javascript" src="jquery-1.4.2.js"></script>
13<script type="text/javascript" src="ui/jquery.ui.core.js"></script>
14<script type="text/javascript" src="ui/jquery.ui.widget.js"></script>
15<script type="text/javascript" src="ui/jquery.ui.mouse.js"></script>
16<script type="text/javascript" src="ui/jquery.ui.sortable.js"></script>
17<script type="text/javascript">
18$(function() {
19        $('ul').sortable();
20});
21</script>
22</head>
23<body>
24<div id="container" style="position:relative; height:400px; background:#eee; width:200px;">
25        <div style="position:absolute; bottom:0; width:175px;">
26                <ul>
27                        <li>Item 1</li>
28                        <li>Item 2</li>
29                        <li>Item 3</li>
30                        <li>Item 4</li>
31                </ul>
32        </div>
33</div>
34
35</body>
36</html>