-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
44 lines (37 loc) · 1.42 KB
/
index.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
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sectionizr : sectionize your UI</title>
<link rel="stylesheet" href="dist/sectionizr.css">
<link rel="stylesheet" href="example/style.css">
<link href="https://fonts.googleapis.com/css?family=Bellefair" rel="stylesheet">
</head>
<body>
<div class="sectionizr">
<div class="controls">
<a class="prev" onclick="controlla1.prev()"></a>
<a class="next" onclick="controlla1.next()"></a>
</div>
<section>Sectionizr</section>
<section><span class="struck">sectionize</span> simplify your UI</section>
<section class="sectionizr vertical">
<section>Horizontally</section>
<section>Or</section>
<section>Vertically</section>
<section>S'il vous plait</section>
<div class="controls">
<a class="prev" onclick="controlla2.prev()"></a>
<a class="next" onclick="controlla2.next()"></a>
</div>
</section>
<section>It's that simple!</section>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="dist/sectionizr.min.js"></script>
<script>
// initialize sectionizr, keep a reference to the objects returned
let [controlla1, controlla2] = $('.sectionizr').sectionizr();
</script>
</body>
</html>