blob: 3e2064154d91c4a7b7fcdeb0355b16160d1094bd (
plain) (
blame)
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
|
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="./style.css">
</head>
<body>
<div class="list half" id="list1">
<div>Item 1.1</div>
<div>Item 1.2</div>
<div>Item 1.3</div>
<div>Item 1.4</div>
<div>Item 1.5</div>
</div>
<div class="list half" id="list2">
</div>
<script src="../Sortable.js"></script>
<script type="text/javascript">
new Sortable(document.getElementById('list1'), { group: 'shared' });
new Sortable(document.getElementById('list2'), { group: 'shared' });
</script>
</body>
</html>
|