diff options
Diffstat (limited to 'library/Sortable/tests/empty-list.html')
-rw-r--r-- | library/Sortable/tests/empty-list.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/library/Sortable/tests/empty-list.html b/library/Sortable/tests/empty-list.html new file mode 100644 index 000000000..3e2064154 --- /dev/null +++ b/library/Sortable/tests/empty-list.html @@ -0,0 +1,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> |