-
Notifications
You must be signed in to change notification settings - Fork 176
/
index.html
82 lines (78 loc) · 3.6 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en" class="bg-pink">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sandbox: Drawer Left</title>
<link href="sandbox.css" rel="stylesheet">
<link href="../dist/css/drawer.min.css" rel="stylesheet">
</head>
<body class="drawer drawer--left">
<header role="banner">
<button type="button" class="drawer-toggle drawer-hamburger">
<span class="sr-only">toggle navigation</span>
<span class="drawer-hamburger-icon"></span>
</button>
<nav class="drawer-nav" role="navigation">
<ul class="drawer-menu">
<li><a class="drawer-brand" href="./index.html">Drawer</a></li>
<li><a class="drawer-menu-item" href="./top.html">Top</a></li>
<li><a class="drawer-menu-item" href="./index.html">Left</a></li>
<li><a class="drawer-menu-item" href="./right.html">Right</a></li>
<li class="drawer-dropdown">
<a class="drawer-menu-item" data-target="#" href="#" data-toggle="dropdown" role="button" aria-expanded="false">
Navbar <span class="drawer-caret"></span>
</a>
<ul class="drawer-dropdown-menu">
<li><a class="drawer-dropdown-menu-item" href="./navbar-top.html">Top</a></li>
<li><a class="drawer-dropdown-menu-item" href="./navbar-left.html">Left</a></li>
<li><a class="drawer-dropdown-menu-item" href="./navbar-right.html">Right</a></li>
</ul>
</li>
<li class="drawer-dropdown">
<a class="drawer-menu-item" data-target="#" href="#" data-toggle="dropdown" role="button" aria-expanded="false">
Fixed navbar <span class="drawer-caret"></span>
</a>
<ul class="drawer-dropdown-menu">
<li><a class="drawer-dropdown-menu-item" href="./fixed-navbar-top.html">Top</a></li>
<li><a class="drawer-dropdown-menu-item" href="./fixed-navbar-left.html">Left</a></li>
<li><a class="drawer-dropdown-menu-item" href="./fixed-navbar-right.html">Right</a></li>
</ul>
</li>
<li class="drawer-dropdown">
<a class="drawer-menu-item" href="#" data-toggle="dropdown" role="button" aria-expanded="false">
Sidebar <span class="drawer-caret"></span>
</a>
<ul class="drawer-dropdown-menu">
<li><a class="drawer-dropdown-menu-item" href="./sidebar-left.html">Left</a></li>
<li><a class="drawer-dropdown-menu-item" href="./sidebar-right.html">Right</a></li>
</ul>
</li>
<li style="height:500px"><span class="drawer-menu-item" >height:500px box</span></li>
<li><span class="drawer-menu-item" >box end</span></li>
</ul>
</nav>
</header>
<!-- content -->
<main role="main">
<section class="item">
<h1>Drawer Left</h1>
<p>
<button type="button" class="drawer-toggle">Drawer toggle</button>
</p>
</section>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/iScroll/5.2.0/iscroll.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- Bootstrap dropdown v4.0.0-alpha -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"></script> -->
<script src="../dist/js/drawer.min.js" charset="utf-8"></script>
<script>
$(document).ready(function() {
$('.drawer').drawer();
});
</script>
</body>
</html>