-
Notifications
You must be signed in to change notification settings - Fork 117
/
index.html
636 lines (594 loc) · 37.2 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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Sentra MK THEME</title>
<link rel="shortcut icon" href="./batman-6-16.ico" type="image/x-icon">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/fontAwesome.css">
<link rel="stylesheet" href="css/light-box.css">
<link rel="stylesheet" href="css/owl-carousel.css">
<link rel="stylesheet" href="css/templatemo-style.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Dropdown
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link disabled">Disabled</a>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
</div>
</div>
</nav>
<div class="slider">
<div class="Modern-Slider content-section" id="top">
<!-- Item -->
<div class="item item-1">
<div class="img-fill">
<div class="image"></div>
<div class="info">
<div>
<h1>Beautiful Template<br>Sentra</h1>
<p>Sentra is free Bootstrap CSS Template by templatemo website.<br>
Please share our site link to your friends.</p>
<div class="white-button button">
<a href="#featured">Discover More</a>
</div>
</div>
</div>
</div>
</div>
<!-- // Item -->
<!-- Item -->
<div class="item item-2">
<div class="img-fill">
<div class="image"></div>
<div class="info">
<div>
<h1>Please tell <br>your friends</h1>
<p>Support templatemo by sharing a link to your friends.
<br>Thank you for helping us.</p>
<div class="white-button button">
<a href="#featured">Share More</a>
</div>
</div>
</div>
</div>
</div>
<!-- // Item -->
<!-- Item -->
<div class="item item-3">
<div class="img-fill">
<div class="image"></div>
<div class="info">
<div>
<h1>Suspendisse suscipit<br>nulla sed</h1>
<p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices <br>posuere cubilia Curae; Sed at massa turpis.</p>
<div class="white-button button">
<a href="#featured">Learn More</a>
</div>
</div>
</div>
</div>
</div>
<!-- // Item -->
</div>
</div>
<div class="page-content">
<section id="featured" class="content-section">
<div class="section-heading">
<h1>Featured<br><em>Places</em></h1>
<p>Praesent pellentesque efficitur magna,
<br>sed pellentesque neque malesuada vitae.</p>
</div>
<div class="section-content">
<div class="owl-carousel owl-theme">
<div class="item">
<div class="image">
<img src="img/featured_1.jpg" alt="">
<div class="featured-button button">
<a href="#projects">Continue Reading</a>
</div>
</div>
<div class="text-content">
<h4>Lorem ipsum dolor</h4>
<span>Proin et sapien</span>
<p>#1 You are allowed to use Sentra Template for your business or client websites. You can use it for commercial or non-commercial or educational purposes.</p>
</div>
</div>
<div class="item">
<div class="image">
<img src="img/featured_2.jpg" alt="">
<div class="featured-button button">
<a href="#projects">Continue Reading</a>
</div>
</div>
<div class="text-content">
<h4>Phasellus a lacus ac odio</h4>
<span>Maximus</span>
<p>#2 You are NOT allowed to re-distribute this on any template website. You <strong>can post</strong> a screenshot and a link back to original template page on your blog or site. Thank you.</p>
</div>
</div>
<div class="item">
<div class="image">
<img src="img/featured_3.jpg" alt="">
<div class="featured-button button">
<a href="#projects">Continue Reading</a>
</div>
</div>
<div class="text-content">
<h4>Proin sit amet fringilla</h4>
<span>Vulputate</span>
<p>#3 Aliquam mollis lacus eget metus efficitur lobortis. Suspendisse libero lacus, accumsan vitae commodo tristique, luctus gravida metus.</p>
</div>
</div>
<div class="item">
<div class="image">
<img src="img/featured_2.jpg" alt="">
<div class="featured-button button">
<a href="#projects">Continue Reading</a>
</div>
</div>
<div class="text-content">
<h4>In volutpat augue lectus</h4>
<span>Elementum</span>
<p>#4 Aliquam mollis lacus eget metus efficitur lobortis. Suspendisse libero lacus, accumsan vitae commodo tristique, luctus gravida metus.</p>
</div>
</div>
<div class="item">
<div class="image">
<img src="img/featured_1.jpg" alt="">
<div class="featured-button button">
<a href="#projects">Continue Reading</a>
</div>
</div>
<div class="text-content">
<h4>Cras commodo odio</h4>
<span>Aliquam</span>
<p>#5 Mauris lacinia pretium libero, ut tincidunt lacus molestie ornare. Phasellus a facilisis erat. Praesent eleifend nibh mauris, quis sodales lorem convallis pulvinar.</p>
</div>
</div>
<div class="item">
<div class="image">
<img src="img/featured_3.jpg" alt="">
<div class="featured-button button">
<a href="#projects">Continue Reading</a>
</div>
</div>
<div class="text-content">
<h4>Sed at massa turpis</h4>
<span>Curabitur</span>
<p>#6 Vestibulum tincidunt ornare ligula vel molestie. Curabitur hendrerit mauris mollis ipsum vulputate rutrum. Phasellus luctus odio eget dui imperdiet.</p>
</div>
</div>
<div class="item">
<div class="image">
<img src="img/featured_2.jpg" alt="">
<div class="featured-button button">
<a href="#projects">Continue Reading</a>
</div>
</div>
<div class="text-content">
<h4>Aliquam mollis lacus</h4>
<span>Suspendisse</span>
<p>#7 Suspendisse suscipit nulla sed nisl fermentum, auctor suscipit nunc rhoncus. Proin faucibus metus diam, nec hendrerit purus pharetra in.</p>
</div>
</div>
<div class="item">
<div class="image">
<img src="img/featured_1.jpg" alt="">
<div class="featured-button button">
<a href="#projects">Continue Reading</a>
</div>
</div>
<div class="text-content">
<h4>Mauris lacinia pretium</h4>
<span>Vestibulum</span>
<p>#8 Suspendisse suscipit nulla sed nisl fermentum, auctor suscipit nunc rhoncus. Proin faucibus metus diam, nec hendrerit purus pharetra in.</p>
</div>
</div>
<div class="item">
<div class="image">
<img src="img/featured_3.jpg" alt="">
<div class="featured-button button">
<a href="#projects">Continue Reading</a>
</div>
</div>
<div class="text-content">
<h4>Proin sit amet fringilla erat</h4>
<span>Convallis</span>
<p>#9 Suspendisse suscipit nulla sed nisl fermentum, auctor suscipit nunc rhoncus. Proin faucibus metus diam, nec hendrerit purus pharetra in.</p>
</div>
</div>
</div>
</div>
</section>
<section id="projects" class="content-section">
<div class="section-heading">
<h1>Recent<br><em>Projects</em></h1>
<p>Praesent pellentesque efficitur magna,
<br>sed pellentesque neque malesuada vitae.</p>
</div>
<div class="section-content">
<div class="masonry">
<div class="row">
<div class="item">
<div class="col-md-8">
<a href="img/portfolio_big_1.jpg" data-lightbox="image"><img src="img/portfolio_1.jpg" alt="image 1"></a>
</div>
</div>
<div class="item second-item">
<div class="col-md-4">
<a href="img/portfolio_big_2.jpg" data-lightbox="image"><img src="img/portfolio_2.jpg" alt="image 2"></a>
</div>
</div>
<div class="item">
<div class="col-md-4">
<a href="img/portfolio_big_3.jpg" data-lightbox="image"><img src="img/portfolio_3.jpg" alt="image 3"></a>
</div>
</div>
<div class="item">
<div class="col-md-4">
<a href="img/portfolio_big_4.jpg" data-lightbox="image"><img src="img/portfolio_4.jpg" alt="image 4"></a>
</div>
</div>
<div class="item">
<div class="col-md-8">
<a href="img/portfolio_big_5.jpg" data-lightbox="image"><img src="img/portfolio_5.jpg" alt="image 5"></a>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="video" class="content-section">
<div class="row">
<div class="col-md-12">
<div class="section-heading">
<h1>This is a <em>company</em> presentation.</h1>
<p>Praesent pellentesque efficitur magna, sed pellentesque neque malesuada vitae.</p>
</div>
<div class="text-content">
<p>In eget ipsum sed lorem vehicula luctus. Curabitur non dolor rhoncus, hendrerit justo sit amet, vestibulum turpis. Pellentesque id auctor tellus, vel ultricies augue. Duis condimentum aliquet blandit. Fusce rhoncus et eros ut pharetra. Phasellus convallis ultricies ligula ac gravida.</p>
</div>
<div class="accent-button button">
<a href="#blog">Continue Reading</a>
</div>
</div>
<div class="col-md-12">
<div class="box-video">
<div class="bg-video" style="background-image: url(https://unsplash.imgix.net/photo-1425036458755-dc303a604201?fit=crop&fm=jpg&q=75&w=1000);">
<div class="bt-play">Play</div>
</div>
<div class="video-container">
<iframe width="100%" height="520" src="https://www.youtube.com/embed/j-_7Ub-Zkow?rel=0&showinfo=0" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
</div>
</div>
</div>
</div>
</section>
<section id="blog" class="content-section">
<div class="section-heading">
<h1>Blog<br><em>Entries</em></h1>
<p>Curabitur hendrerit mauris mollis ipsum vulputate rutrum.
<br>Phasellus luctus odio eget dui imperdiet.</p>
</div>
<div class="section-content">
<div class="tabs-content">
<div class="wrapper">
<ul class="tabs clearfix" data-tabgroup="first-tab-group">
<li><a href="#tab1" class="active">July 2018</a></li>
<li><a href="#tab2">June 2018</a></li>
<li><a href="#tab3">May 2018</a></li>
<li><a href="#tab4">April 2018</a></li>
</ul>
<section id="first-tab-group" class="tabgroup">
<div id="tab1">
<ul>
<li>
<div class="item">
<img src="img/blog_1.jpg" alt="">
<div class="text-content">
<h4>Integer ultrices augue</h4>
<span>25 July 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<img src="img/blog_2.jpg" alt="">
<div class="text-content">
<h4>Cras commodo odio ut</h4>
<span>16 July 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<img src="img/blog_3.jpg" alt="">
<div class="text-content">
<h4>Sed at massa turpis</h4>
<span>10 July 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
</ul>
</div>
<div id="tab2">
<ul>
<li>
<div class="item">
<img src="img/blog_3.jpg" alt="">
<div class="text-content">
<h4>Sed at massa turpis</h4>
<span>30 June 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<img src="img/blog_1.jpg" alt="">
<div class="text-content">
<h4>Lorem ipsum dolor sit</h4>
<span>24 June 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<img src="img/blog_2.jpg" alt="">
<div class="text-content">
<h4>Cras commodo odio ut</h4>
<span>12 June 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
</ul>
</div>
<div id="tab3">
<ul>
<li>
<div class="item">
<img src="img/blog_2.jpg" alt="">
<div class="text-content">
<h4>Cras commodo odio ut</h4>
<span>26 May 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<img src="img/blog_1.jpg" alt="">
<div class="text-content">
<h4>Lorem ipsum dolor sit</h4>
<span>22 May 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<img src="img/blog_3.jpg" alt="">
<div class="text-content">
<h4>Integer ultrices augue</h4>
<span>8 May 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
</ul>
</div>
<div id="tab4">
<ul>
<li>
<div class="item">
<img src="img/blog_1.jpg" alt="">
<div class="text-content">
<h4>Lorem ipsum dolor sit</h4>
<span>26 April 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<img src="img/blog_3.jpg" alt="">
<div class="text-content">
<h4>Integer ultrices augue eu</h4>
<span>24 April 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
<li>
<div class="item">
<img src="img/blog_2.jpg" alt="">
<div class="text-content">
<h4>Cras commodo odio ut</h4>
<span>20 April 2018</span>
<p>Nam vel egestas nisi. Nullam lobortis magna at enim venenatis luctus. Nam finibus, mauris eu dictum iaculis, dolor tortor cursus quam, in volutpat augue lectus sed magna. Integer mollis lorem quis ipsum maximus finibus.</p>
<div class="accent-button button">
<a href="#contact">Continue Reading</a>
</div>
</div>
</div>
</li>
</ul>
</div>
</section>
</div>
</div>
</div>
</section>
<section id="contact" class="content-section">
<div id="map">
<!-- How to change your own map point
1. Go to Google Maps
2. Click on your location point
3. Click "Share" and choose "Embed map" tab
4. Copy only URL and paste it within the src="" field below
-->
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1197183.8373802372!2d-1.9415093691103689!3d6.781986417238027!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xfdb96f349e85efd%3A0xb8d1e0b88af1f0f5!2sKumasi+Central+Market!5e0!3m2!1sen!2sth!4v1532967884907" width="100%" height="400px" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
<div id="contact-content">
<div class="section-heading">
<h1>Contact<br><em>Sentra</em></h1>
<p>Curabitur hendrerit mauris mollis ipsum vulputate rutrum.
<br>Phasellus luctus odio eget dui imperdiet.</p>
</div>
<div class="section-content">
<form id="contact" action="#" method="post">
<div class="row">
<div class="col-md-4">
<fieldset>
<input name="name" type="text" class="form-control" id="name" placeholder="Your name..." required="">
</fieldset>
</div>
<div class="col-md-4">
<fieldset>
<input name="email" type="email" class="form-control" id="email" placeholder="Your email..." required="">
</fieldset>
</div>
<div class="col-md-4">
<fieldset>
<input name="subject" type="text" class="form-control" id="subject" placeholder="Subject..." required="">
</fieldset>
</div>
<div class="col-md-12">
<fieldset>
<textarea name="message" rows="6" class="form-control" id="message" placeholder="Your message..." required=""></textarea>
</fieldset>
</div>
<div class="col-md-12">
<fieldset>
<button type="submit" id="form-submit" class="btn">Send Message Now</button>
</fieldset>
</div>
</div>
</form>
</div>
</div>
</section>
<section class="footer">
<p>Copyright © 2019 Company Name
. Design: TemplateMo</p>
</section>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<script>
// Hide Header on on scroll down
var didScroll;
var lastScrollTop = 0;
var delta = 5;
var navbarHeight = $('header').outerHeight();
$(window).scroll(function(event){
didScroll = true;
});
setInterval(function() {
if (didScroll) {
hasScrolled();
didScroll = false;
}
}, 250);
function hasScrolled() {
var st = $(this).scrollTop();
// Make sure they scroll more than delta
if(Math.abs(lastScrollTop - st) <= delta)
return;
// If they scrolled down and are past the navbar, add class .nav-up.
// This is necessary so you never see what is "behind" the navbar.
if (st > lastScrollTop && st > navbarHeight){
// Scroll Down
$('header').removeClass('nav-down').addClass('nav-up');
} else {
// Scroll Up
if(st + $(window).height() < $(document).height()) {
$('header').removeClass('nav-up').addClass('nav-down');
}
}
lastScrollTop = st;
}
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
</body>
</html>
</html>