-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
177 lines (155 loc) · 7.08 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Mobile First Horizontal Navigation</title>
<link rel="stylesheet" type="text/css" href="css/mo.css" />
<script type='text/javascript' src='js/jquery-1.9.1.min.js'></script>
<script type='text/javascript' src='js/mo.js'></script>
<script type='text/javascript' src='js/demo.js'></script>
<style>
/*
These styles are for the demo, not for the actual menus.
You don't need them in your project.
*/
body {
font-family: 'Open Sans', helvetica, sans-serif;
padding-bottom: 10em;
/*background-color: #f6f6f6;*/
}
#page {
/*background: url(img/grid-22.jpg); for testing line height */
width: 1140px;
max-width: 85%;
margin: 2.75rem auto;
padding: 1.375rem;
border: 4px solid #dddddd;
border-radius: 2px;
}
h1 {
font-size: 4rem;
width: 800px;
margin: 2.75rem auto;
padding: 0 0.3rem;
max-width: 90%;
}
.thmfdn-menu-container {
width: 1000px;
max-width: 90%;
margin: 0 auto;
}
.content {
width: 800px;
max-width: 90%;
margin: 0 auto;
margin-top: 2.75rem;
padding-bottom: 2.75em;
}
p,
a {
margin-bottom: 1.375rem;
line-height: 1.375rem;
}
@media (min-width: 900px) and (max-width: 1139px) {
h1 {
text-align: center;
}
}
.example .code {
border: 3px solid #ddd;
}
</style>
</head>
<body>
<div id="page">
<div class="site-header">
<ul class="menu test-menu" id="first-menu">
<li><a href="http://example.com">Menu Item #1</a></li>
<li><a href="http://example.com">Menu Item #2</a>
<ul class="sub-menu">
<li><a href="http://example.com">Sub Menu Item #1</a></li>
<li><a href="http://example.com">Sub Menu Item #2</a>
<ul class="sub-menu">
<li><a href="http://example.com">Sub Sub Menu Item #1</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="http://example.com">Menu Item #3</a>
<ul class="sub-menu">
<li><a href="http://example.com">Sub Menu Item #1</a></li>
<li><a href="http://example.com">Sub Menu Item #2</a>
<ul class="sub-menu">
<li><a href="http://example.com">Sub Sub Menu Item #1</a>
<ul class="sub-menu">
<li><a href="http://example.com">Triple Sub Menu Item #1</a></li>
<li><a href="http://example.com">Triple Sub Menu Item #2</a></li>
<li><a href="http://example.com">Triple Sub Menu Item #3</a></li>
<li><a href="http://example.com">Triple Sub Menu Item #4</a></li>
</ul>
</li>
<li><a href="http://example.com">Sub Sub Menu Item #2</a></li>
<li><a href="http://example.com">Sub Sub Menu Item #3</a></li>
<li><a href="http://example.com">Sub Sub Menu Item #4</a></li>
</ul>
</li>
<li><a href="http://example.com">Sub Menu Item #3</a></li>
</ul>
</li>
</ul>
<h1>mo.js</h1>
<ul class="test-menu2" id="second-menu">
<li><a href="http://example.com">Menu Item #4</a></li>
<li><a href="http://example.com">Menu Item #5</a>
<ul class="sub-menu">
<li><a href="http://example.com">Sub Menu Item #1</a></li>
<li><a href="http://example.com">Sub Menu Item #2</a>
<ul class="sub-menu">
<li><a href="http://example.com">Sub Sub Menu Item #1</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="http://example.com">Menu Item #6</a>
<ul class="sub-menu">
<li><a href="http://example.com">Sub Menu Item #1</a>
<ul class="sub-menu">
<li><a href="http://example.com">Sub Sub Menu Item #1</a></li>
<li><a href="http://example.com">Sub Sub Menu Item #2</a></li>
<li><a href="http://example.com">Sub Sub Menu Item #3</a></li>
<li><a href="http://example.com">Sub Sub Menu Item #4</a></li>
</ul>
</li>
<li><a href="http://example.com">Sub Menu Item #2</a></li>
<li><a href="http://example.com">Sub Menu Item #3</a></li>
</ul>
</li>
</ul>
<div class="content">
<p>mo.js is a mobile first, keyboard friendly, progressively enhanced menu object.</p>
<p>Brought to you by <a href="http://themefoundation.com">Theme Foundation</a></p>
<h2>Features</h2>
<h4>Sass</h4>
<p>Modular Sass design. Simply apply the Sass placeholders to your menu and you're ready to go!</p>
<h4>jQuery</h4>
<p>Mobile menu, submenu arrows, and keyboard navigation are all added automatically.</p>
</div>
<div id="example-one" class="example">
<h3>Example #1</h3>
<p>Plain menu with no styling</p>
<div class="code">
<ul><li><a href="http://example.com">Menu Item #1</a></li><li><a href="http://example.com">Menu Item #2</a><ul class="sub-menu"><li><a href="http://example.com">Sub Menu Item #1</a></li><li><a href="http://example.com">Sub Menu Item #2</a><ul class="sub-menu"><li><a href="http://example.com">Sub Sub Menu Item #1</a></li></ul></li></ul></li><li><a href="http://example.com">Menu Item #3</a><ul class="sub-menu"><li><a href="http://example.com">Sub Menu Item #1</a></li><li><a href="http://example.com">Sub Menu Item #2</a><ul class="sub-menu"><li><a href="http://example.com">Sub Sub Menu Item #1</a><ul class="sub-menu"><li><a href="http://example.com">Triple Sub Menu Item #1</a></li><li><a href="http://example.com">Triple Sub Menu Item #2</a></li><li><a href="http://example.com">Triple Sub Menu Item #3</a></li><li><a href="http://example.com">Triple Sub Menu Item #4</a></li></ul></li><li><a href="http://example.com">Sub Sub Menu Item #2</a></li><li><a href="http://example.com">Sub Sub Menu Item #3</a></li><li><a href="http://example.com">Sub Sub Menu Item #4</a></li></ul></li><li><a href="http://example.com">Sub Menu Item #3</a></li></ul></li></ul>
</div>
</div>
<div id="example-two" class="example">
<h3>Example #2</h3>
<p>Plain menu with %mo base styling</p>
<div class="code">
<ul><li><a href="http://example.com">Menu Item #1</a></li><li><a href="http://example.com">Menu Item #2</a><ul class="sub-menu"><li><a href="http://example.com">Sub Menu Item #1</a></li><li><a href="http://example.com">Sub Menu Item #2</a><ul class="sub-menu"><li><a href="http://example.com">Sub Sub Menu Item #1</a></li></ul></li></ul></li><li><a href="http://example.com">Menu Item #3</a><ul class="sub-menu"><li><a href="http://example.com">Sub Menu Item #1</a></li><li><a href="http://example.com">Sub Menu Item #2</a><ul class="sub-menu"><li><a href="http://example.com">Sub Sub Menu Item #1</a><ul class="sub-menu"><li><a href="http://example.com">Triple Sub Menu Item #1</a></li><li><a href="http://example.com">Triple Sub Menu Item #2</a></li><li><a href="http://example.com">Triple Sub Menu Item #3</a></li><li><a href="http://example.com">Triple Sub Menu Item #4</a></li></ul></li><li><a href="http://example.com">Sub Sub Menu Item #2</a></li><li><a href="http://example.com">Sub Sub Menu Item #3</a></li><li><a href="http://example.com">Sub Sub Menu Item #4</a></li></ul></li><li><a href="http://example.com">Sub Menu Item #3</a></li></ul></li></ul>
</div>
</div>
</div><!--.site-header-->
</div><!--#page-->
</body>
</html>