forked from learnaria/learnaria.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sortable.html
39 lines (35 loc) · 1.06 KB
/
sortable.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>IK Library: Sortable List</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="assets/ik_lib.css" rel="stylesheet" type="text/css">
<script src="assets/ik_utils.js"></script>
<script src="assets/ik_sortable.js"></script>
<script>
$(document).ready(function() {
$(".list").ik_sortable();
});
</script>
</head>
<body>
<main>
<a href="index.html">← Index</a>
<h1>Sortable List</h1>
<p>Lorem ipsum dolor sit, consectetur adipiscing elit. Sed blandit pellentesque felis eget venenatis. Duis venenatis consectetur lacinia. Proin elementum eu justo vel dignissim.</p>
<ul class="list">
<li>Apples</li>
<li>Oranges</li>
<li>Bananas</li>
<li>Pears</li>
<li>Plums</li>
<li>Peaches</li>
<li>Cherries</li>
<li>Persimmons</li>
<li>Quinces</li>
</ul>
</main>
</body>
</html>