This repository was archived by the owner on Jul 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathindex.html
executable file
·262 lines (220 loc) · 9.39 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<!doctype html>
<!--[if IEMobile 7]><html class="no-js iem7"><![endif]-->
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!--
Hello, Curious Stranger.
Some of the code presented here is borrowed from frameworks such as 320-and-Up, Bootstrap and Mobile Boilerplate.
The code written by me is - wait for it - Public Domain. Copy, hack, sell wholesale and do whatever pleases you.
A little credit would be appreciated but not mandatory.
May be the source be with you.
-->
<title>Responsive Navigation Menu</title>
<meta name="description" content="A hands-on tutorial on how to build an advanced Responsive Navigation Menu.">
<meta name="author" content="Saddam Azad - UI Designer and Front-end Web Developer. London, UK.">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="shortcut icon" href="/favicon.ico">
<!-- For all browsers -->
<link href='http://fonts.googleapis.com/css?family=Euphoria+Script|Lato' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/normalise.css" media="screen">
<link rel="stylesheet" href="css/atmosphere.css" media="screen">
<!-- Media Queries -->
<link rel="stylesheet" href="css/mobile-nav.css" media="screen and (min-width: 320px) and (max-width: 1024px)">
<link rel="stylesheet" href="css/smartphone.css" media="screen and (min-width:320px) and (max-width:480px)">
<link rel="stylesheet" href="css/tablet.css" media="screen and (min-width: 481px) and (max-width: 767px)">
<link rel="stylesheet" href="css/ipad.css" media="screen and (min-width: 768px) and (max-width: 1024px)">
<link rel="stylesheet" href="css/desktop.css" media="screen and (min-width: 1025px)">
<!--[if lt IE 9]>
<link rel="stylesheet" href="css/desktop.css" media="screen">
<![endif]-->
<!--[if (lt IE 9) & (!IEMobile)]>
<script src="js/selectivizr-1.0.3.min.js"></script>
<![endif]-->
<script src="js/modernizr-2.5.3.min.js"></script>
<meta http-equiv="cleartype" content="on">
</head>
<body class="clearfix">
<header role="banner" class="clearfix">
<h1 id="branding"><a href="/demo/responsive-nav/">Responsive Navigation</a></h1>
<h2 id="tagline">A beautifully crafted responsive navigation menu</h2>
<nav>
<a data-toggle="collapse" class="btn btn-navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<ul id="menu" class="overthrow">
<li><a href="#" tabindex="1" accesskey="h">Home</a></li>
<li class="breakfast active"><a href="#" tabindex="2">Breakfast</a>
<ul>
<li class="bread"><a href="#" tabindex="3">Bread</a>
<ul>
<li class="french"><a href="#">French</a></li>
<li class="english"><a href="#">White</a></li>
<li class="brown"><a href="#">Brown</a></li>
</ul>
</li>
<li class="eggs"><a href="#">Eggs</a>
<ul>
<li><a href="#">Eggs Benedict</a></li>
<li><a href="#">Deviled Eggs</a></li>
<li><a href="#">Scotch Eggs</a></li>
<li><a href="#">Scrambled Eggs</a></li>
</ul>
</li>
<li class="bacon"><a href="#">Bacon</a>
<ul>
<li><a href="#">Canadian</a></li>
<li><a href="#">Southern</a></li>
<li><a href="#">Crisp</a></li>
</ul>
</li>
<li class="jam"><a href="#">Preserves</a>
<ul>
<li><a href="#">Raspberry</a></li>
<li><a href="#">Gooseberry</a></li>
<li><a href="#">Strawberry</a></li>
<li><a href="#">Blackberry</a></li>
</ul>
</li>
<li class="coffee"><a href="#">Coffee</a>
<ul>
<li><a href="#">Cappuccino</a></li>
<li><a href="#">Latte</a></li>
<li><a href="#">Espresso</a></li>
<li><a href="#">Macchiato</a></li>
</ul>
</li>
</ul>
</li>
<li class="brunch"><a href="#">Brunch</a>
<ul>
<li><a href="#">Scones & Muffins</a>
<ul>
<li><a href="#">Chocolate Muffin</a>
<ul>
<li><a href="#">Double Chocolate</a></li>
<li><a href="#">Triple Chocolate</a></li>
<li><a href="#">Chocolate Chip</a></li>
<li><a href="#">Chocolate Cookie Crunch</a></li>
</ul>
</li>
<li><a href="#">Cranberry Muffin</a></li>
<li><a href="#">Date & Nut Muffin</a></li>
<li><a href="#">Raisin Spice Muffin</a></li>
</ul>
</li>
<li><a href="#">Waffles</a>
<ul>
<li><a href="#">Chocolate syrup</a></li>
<li><a href="#">Pumpkin-Ginger</a></li>
</ul>
</li>
<li class="bacon"><a href="#">Bacon</a>
<ul>
<li><a href="#">Canadian</a></li>
<li><a href="#">Southern</a></li>
<li><a href="#">Crisp</a></li>
</ul>
</li>
<li class="jam"><a href="#">Pancakes</a></li>
</ul>
</li>
<li class="lunch"><a href="#">Lunch</a>
<ul>
<li class="bread"><a href="#">Chicken</a>
<ul>
<li class="french"><a href="#">Roast</a></li>
<li class="english"><a href="#">Broast</a></li>
<li class="brown"><a href="#">Grilled</a></li>
</ul>
</li>
<li class="eggs"><a href="#">Beef</a>
<ul>
<li><a href="#">Roasted with Peppers</a></li>
<li><a href="#">T-bone Steak</a></li>
<li><a href="#">Sirloin Steak</a></li>
<li><a href="#">Prime Rib</a></li>
</ul>
</li>
<li class="bacon"><a href="#">Lamb</a>
<ul>
<li><a href="#">Roasted with Potato</a></li>
<li><a href="#">Stewed with Guiness</a></li>
<li><a href="#">Stir Fry with Mushrooms</a></li>
</ul>
</li>
<li class="salad"><a href="#">Salad</a>
<ul>
<li><a href="#">Caesar Salad</a></li>
<li><a href="#">Avocado & Papper</a></li>
<li><a href="#">Shrimp & Couscous</a></li>
</ul>
</li>
</ul>
</li>
<li class="tea"><a href="#">Tea</a>
<ul>
<li><a href="#">English</a></li>
<li><a href="#">Earl Grey</a></li>
<li><a href="#">Green Tea</a></li>
<li><a href="#">Camomile</a></li>
</ul>
</li>
<li class="dinner"><a href="#">Dinner</a>
<ul>
<li class="bread"><a href="#">Chicken</a></li>
<li class="eggs"><a href="#">Beef</a</li>
<li class="bacon"><a href="#">Lamb</a></li>
<li class="jam"><a href="#">Duck</a></li>
<li class="coffee"><a href="#">Turkey</a></li>
</ul>
</li>
</ul>
</nav>
</header>
<section class="content clearfix">
<p>You are currently browsing the demo. Please read the full tutorial here: <a href="http://azadcreative.com/2012/06/responsive-mobile-first-navigation-menu/" target="_blank">Building a Responsive, Mobile-First Navigation Menu</a>.</p>
<p>This tutorial demonstrates how to build a responsive navigation menu using bits and pieces borrowed from 320 and Up, the Bootstrap Framework and HTML5 Boilerplate Mobile. The hands-on tutorial is designed for web developers of beginner and intermediate levels.</p>
<p>The aim of the tutorial is to create a navigation menu that displays native controls on mobile devices and tablets whilst presenting a solid Dropdown Navigation for the desktop users. This is a practical example of how to build essential website components using the Mobile First approach.</p>
<p>The tutorial is authored by Saddam Azad, a freelance User Interface Designer and Front-End Web Developer living in London, United Kingdom. He is an experienced professional with an extensive portfolio of world class work.</p>
</section><!-- / content -->
<footer role="contentinfo">
<p>Credits:</p>
<ul>
<li><a href="http://stuffandnonsense.co.uk/projects/320andup/">320 and Up</a> by Andy Clarke.</li>
<li><a href="http://html5boilerplate.com/mobile/">HTML5 Boilerplate Mobile</a>.</li>
<li><a href="http://twitter.github.com/bootstrap/">Bootstrap</a> from Twitter.</li>
<li><a href="https://github.com/filamentgroup/Overthrow/">Overthrow</a> by Filament.</li>
</ul>
<p>The aforementioned are licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a></p>
</footer>
<div id="dimensions">
Screen width: <span class="width"></span>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.7.2.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/helper.js"></script>
<script src="js/script.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-12457821-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>