blob: 3e2064154d91c4a7b7fcdeb0355b16160d1094bd (
plain) (
tree)
|
|
<!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>
|