forked from blivesta/drawer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfixed-navbar-top.html
81 lines (75 loc) · 3.45 KB
/
fixed-navbar-top.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
<!DOCTYPE html>
<html lang="en" class="bg-teal">
<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 Top with fixed navbar</title>
<link href="sandbox.css" rel="stylesheet">
<link href="../dist/css/drawer.css" rel="stylesheet">
</head>
<body class="drawer drawer--top drawer--navbarTopGutter">
<header class="drawer-navbar drawer-navbar--fixed" role="banner">
<div class="drawer-container">
<div class="drawer-navbar-header">
<a class="drawer-brand" href="./index.html">Drawer</a>
<button type="button" class="drawer-toggle drawer-hamburger">
<span class="sr-only">toggle navigation</span>
<span class="drawer-hamburger-icon"></span>
</button>
</div>
<nav class="drawer-nav" role="navigation">
<ul class="drawer-menu">
<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>
</ul>
</nav>
</div>
</header>
<!-- content -->
<main role="main">
<section class="item">
<h1>Drawer Top with fixed navbar</h1>
</section>
</main>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/iScroll/5.1.3/iscroll.min.js"></script>
<script src="https://cdn.rawgit.com/ungki/bootstrap.dropdown/3.3.5/dropdown.min.js"></script>
<script src="../dist/js/drawer.min.js" charset="utf-8"></script>
<script>
$(document).ready(function() {
$('.drawer').drawer();
});
</script>
</body>
</html>