forked from codeforweb/vanillaJSComponents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dropdown.html
42 lines (36 loc) · 1.35 KB
/
dropdown.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Drop Down</title>
<meta charset="utf-8">
<link href="css/dropdowns.css" rel="stylesheet">
<link href="css/app.css" rel="stylesheet">
</head>
<body>
<div class="container">
<!-- example dropdown -->
<div class="spacebottom">
<div class='dropdown'>
<h1>DropDown</h1>
<!-- Dropdown exampple -->
<a class="dropdown-toggle" id="drop4" data-toggle="dropdown" href="#" data-target="menu1">
Dropdown <b class="caret"></b>
</a>
<ul id="menu1" class="dropdown-menu">
<li><a href="#">New File</a></li>
<li><a href="#main">Open...</a></li>
<li><a href="#">Open Recent</a></li>
<li class="divider"></li>
<li><a href="#">New Window</a></li>
<li><a href="#">Close Window</a></li>
<li class="divider"></li>
<li><a href="#">Close File</a></li>
<li><a href="#">Revert</a></li>
</ul>
</div>
<a id="main" href="#test">Test</a>
</div>
</div>
<script src="js/dropdown.js"></script>
</body>
</html>