aboutsummaryrefslogtreecommitdiffstats
path: root/library/Sortable/tests/dual-list.html
blob: 6d7e15b9b0b7119f905bb3ba52db65500e68cd89 (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
31
32
33
34
<!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>Item 2.1</div>
	<div>Item 2.2</div>
	<div>Item 2.3</div>
	<div>Item 2.4</div>
	<div>Item 2.5</div>
</div>


<script src="../Sortable.js"></script>

<script type="text/javascript">
	new Sortable(document.getElementById('list1'), { group: 'shared' });
	new Sortable(document.getElementById('list2'), { });
</script>

</body>
</html>