-
Notifications
You must be signed in to change notification settings - Fork 2
/
header-push.php
246 lines (239 loc) · 8.22 KB
/
header-push.php
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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<title>
<?php wp_title(''); ?>
</title>
<meta charset="<?php bloginfo( 'charset' ); ?>"/>
<meta name="description" content="<?php bloginfo('description'); ?>"/>
<meta name="viewport" content="width=device-width"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="<?php bloginfo( 'name' ); ?> - <?php bloginfo( 'description' ); ?>">
<link rel="alternate" href="https://sbobet.gclub-casino.com/" hreflang="th"/>
<meta name="viewport" content="width=device-width"/>
<?php wp_head(); ?>
<style>
#my-menu:not( .mm-menu) {
display: none;
}
</style>
<?php
function mytheme_customize_css() {
?>
<style type="text/css">
h1 {
color: <?php echo get_theme_mod('text_color', '#000000');
?>;
}
</style>
<?php
}
add_action( 'wp_head', 'mytheme_customize_css' );
?>
</head>
<body <?php body_class(); ?>>
<div class="container" style="border:5px solid red;">
<!-- Push Wrapper -->
<div class="mp-pusher" id="mp-pusher">
<!-- mp-menu -->
<nav id="mp-menu" class="mp-menu">
<div class="mp-level">
<h2 class="icon icon-world">All Categories</h2>
<ul>
<li class="icon icon-arrow-left">
<a class="icon icon-display" href="#">Devices1</a>
<div class="mp-level">
<h2 class="icon icon-display">Devices</h2>
<a class="mp-back" href="#">back</a>
<ul>
<li class="icon icon-arrow-left">
<a class="icon icon-phone" href="#">Mobile Phones</a>
<div class="mp-level">
<h2>Mobile Phones</h2>
<a class="mp-back" href="#">back</a>
<ul>
<li><a href="#">Super Smart Phone</a>
</li>
<li><a href="#">Thin Magic Mobile</a>
</li>
<li><a href="#">Performance Crusher</a>
</li>
<li><a href="#">Futuristic Experience</a>
</li>
</ul>
</div>
</li>
<li class="icon icon-arrow-left">
<a class="icon icon-tv" href="#">Televisions</a>
<div class="mp-level">
<h2>Televisions</h2>
<a class="mp-back" href="#">back</a>
<ul>
<li><a href="#">Flat Superscreen</a>
</li>
<li><a href="#">Gigantic LED</a>
</li>
<li><a href="#">Power Eater</a>
</li>
<li><a href="#">3D Experience</a>
</li>
<li><a href="#">Classic Comfort</a>
</li>
</ul>
</div>
</li>
<li class="icon icon-arrow-left">
<a class="icon icon-camera" href="#">Cameras</a>
<div class="mp-level">
<h2>Cameras</h2>
<a class="mp-back" href="#">back</a>
<ul>
<li><a href="#">Smart Shot</a>
</li>
<li><a href="#">Power Shooter</a>
</li>
<li><a href="#">Easy Photo Maker</a>
</li>
<li><a href="#">Super Pixel</a>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
<li class="icon icon-arrow-left">
<a class="icon icon-news" href="#">Magazines1</a>
<div class="mp-level">
<h2 class="icon icon-news">Magazines</h2>
<a class="mp-back" href="#">back</a>
<ul>
<li><a href="#">National Geographic</a>
</li>
<li><a href="#">Scientific American</a>
</li>
<li><a href="#">The Spectator</a>
</li>
<li><a href="#">The Rambler</a>
</li>
<li><a href="#">Physics World</a>
</li>
<li><a href="#">The New Scientist</a>
</li>
</ul>
</div>
</li>
<li class="icon icon-arrow-left">
<a class="icon icon-shop" href="#">Store1</a>
<div class="mp-level">
<h2 class="icon icon-shop">Store</h2>
<a class="mp-back" href="#">back</a>
<ul>
<li class="icon icon-arrow-left">
<a class="icon icon-t-shirt" href="#">Clothes</a>
<div class="mp-level">
<h2 class="icon icon-t-shirt">Clothes</h2>
<a class="mp-back" href="#">back</a>
<ul>
<li class="icon icon-arrow-left">
<a class="icon icon-female" href="#">Women's Clothing</a>
<div class="mp-level">
<h2 class="icon icon-female">Women's Clothing</h2>
<a class="mp-back" href="#">back</a>
<ul>
<li><a href="#">Tops</a>
</li>
<li><a href="#">Dresses</a>
</li>
<li><a href="#">Trousers</a>
</li>
<li><a href="#">Shoes</a>
</li>
<li><a href="#">Sale</a>
</li>
</ul>
</div>
</li>
<li class="icon icon-arrow-left">
<a class="icon icon-male" href="#">Men's Clothing</a>
<div class="mp-level">
<h2 class="icon icon-male">Men's Clothing</h2>
<a class="mp-back" href="#">back</a>
<ul>
<li><a href="#">Shirts</a>
</li>
<li><a href="#">Trousers</a>
</li>
<li><a href="#">Shoes</a>
</li>
<li><a href="#">Sale</a>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
<li>
<a class="icon icon-diamond" href="#">Jewelry</a>
</li>
<li>
<a class="icon icon-music" href="#">Music</a>
</li>
<li>
<a class="icon icon-food" href="#">Grocery</a>
</li>
</ul>
</div>
</li>
<li><a class="icon icon-photo" href="#">Collections1</a>
</li>
<li><a class="icon icon-wallet" href="#">Credits1</a>
</li>
</ul>
</div>
</nav>
<div class="scroller">
<a href="#" id="trigger" class="menu-trigger"><span></span><span></span><span></span></a>
<!-- this is for emulating position fixed of the nav -->
<?php /*?>
<div class="scroller-inner">
<!-- Top Navigation -->
<div class="codrops-top clearfix">
<a class="codrops-icon codrops-icon-prev" href="http://tympanus.net/Tutorials/CircularNavigation/"><span>Previous Demo</span></a>
<span class="right"><a class="codrops-icon codrops-icon-drop" href="http://tympanus.net/codrops/?p=16252"><span>Back to the Codrops Article</span>
</a>
</span>
</div>
<header class="codrops-header">
<h1>Multi-Level Push Menu <span>Off-screen navigation with multiple levels</span></h1>
</header>
<div class="content clearfix">
<div class="block block-40 clearfix">
<p><a href="#" id="trigger" class="menu-trigger">Open/Close Menu</a>
</p>
<nav class="codrops-demos">
<a href="index.html">Demo 1: Overlapping levels</a>
<a href="index2.html">Demo 2: Covering levels</a>
<a class="current-demo" href="index3.html">Demo 3: Overlapping levels with back links</a>
</nav>
</div>
<div class="block block-60">
<p><strong>Demo 3:</strong> Overlapping levels with back links</p>
<p>This menu will open by pushing the website content to the right. It has multi-level functionality, allowing endless nesting of navigation elements.</p>
<p>The next level can optionally overlap or cover the previous one.</p>
</div>
<div class="info">
<p>If you enjoyed this you might also like:</p>
<p><a href="http://goo.gl/JLJ4v5">Responsive Multi-Level Menu</a>
</p>
<p><a href="http://goo.gl/qjbq9Y">Google Nexus Website Menu</a>
</p>
</div>
</div>
</div>
<!-- /scroller-inner -->
<?php */?>