-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_page.html
69 lines (61 loc) · 1.44 KB
/
test_page.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery UI Sortable - Default functionality</title>
<script src="http://localhost:9090/script.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
<style>
#sortable {
list-style-type: none;
margin: 0;
padding: 0;
width: 200px;
}
#sortable li {
margin: 0 3px 3px 3px;
padding: 0.4em;
padding-left: 1.5em;
font-size: 1.4em;
height: 18px;
background: cyan;
border: 1px solid gray;
}
table {
width: 400px;
}
.fixed {
width: 120px;
}
</style>
<script>
$(function() {
$( "#sortable" ).sortable();
$( "#sortable" ).disableSelection();
setTimeout(function() {
if (!window.fastrack) {
alert('Poops')
return
}
fastrack({ a: 'Hello', b: 'World', d: 4})
setTimeout(function() {
fastrack({ a: 'googo', c: 'gaga', d: 4})
}, 50)
}, 100)
});
</script>
</head>
<body>
<ul id="sortable">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
<li>Item 6</li>
<li>Item 7</li>
</ul>
</body>
</html>