This repository has been archived by the owner on May 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
492 lines (477 loc) · 25.9 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
<!DOCTYPE html>
<html>
<title>EzMONEY</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Open Sans', sans-serif;
}
ul {
text-align: left;
font-weight: 600;
}
p {
font-weight: 600;
}
body,
html {
height: 100%;
line-height: 1.8;
}
.img_sol {
position: relative;
float: center;
width: 520px;
height: 320px;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
border-radius: 3%;
}
/* Full height image header */
.bgimg-1 {
background-position: center;
background-size: cover;
background-image: url("http://i.imgur.com/3RMjGnR.png");
min-height: 80%;
}
.w3-bar .w3-button {
padding: 16px;
}
</style>
<body>
<!-- Navbar (sit on top) -->
<div class="w3-top">
<div class="w3-bar w3-white w3-card-2 w3-animate-top" id="myNavbar">
<a href="#home" class="w3-bar-item w3-button w3-wide"><b>TEAM BANANAS</b></a>
<!-- Right-sided navbar links -->
<div class="w3-right w3-hide-small">
<a href="#intro" class="w3-bar-item w3-button"><b>GIỚI THIỆU</b></a>
<a href="#benefit" class="w3-bar-item w3-button"><b>LỢI ÍCH</b></a>
<a href="#solution" class="w3-bar-item w3-button"><b>MÔ HÌNH LÀM VIỆC</b></a>
<a href="http://i.imgur.com/35kSqS1.png" target="_blank" class="w3-bar-item w3-button"><b>POSTER</b></a>
<a href="#demo" class="w3-bar-item w3-button"><b>DEMO</b></a>
<a href="#team" class="w3-bar-item w3-button"><b>TEAM</b></a>
</div>
<!-- Hide right-floated links on small screens and replace them with a menu icon -->
<a href="javascript:void(0)" class="w3-bar-item w3-button w3-right w3-hide-large w3-hide-medium" onclick="w3_open()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
<!-- Sidebar on small screens when clicking the menu icon -->
<nav class="w3-sidebar w3-bar-block w3-black w3-card-2 w3-animate-left w3-hide-medium w3-hide-large" style="display:none" id="mySidebar">
<a href="javascript:void(0)" onclick="w3_close()" class="w3-bar-item w3-button w3-large w3-padding-16">HOME</a>
<a href="#intro" onclick="w3_close()" class="w3-bar-item w3-button">GIỚI THIỆU</a>
<a href="#benefit" onclick="w3_close()" class="w3-bar-item w3-button">LỢI ÍCH</a>
<a href="#solution" onclick="w3_close()" class="w3-bar-item w3-button">MÔ HÌNH LÀM VIỆC</a>
<a href="http://i.imgur.com/3RMjGnR.png" target="_blank" onclick="w3_close()" class="w3-bar-item w3-button">POSTER</a>
<a href="#team" onclick="w3_close()" class="w3-bar-item w3-button">TEAM</a>
</nav>
<!-- Header with full-height image -->
<header class="bgimg-1 w3-display-container w3-grayscale-min" id="home">
<div class="w3-display-left w3-text-white" style="padding:48px">
<span class="w3-jumbo w3-wide">EzMONEY<sup><i>$</i></sup></span>
<br>
<span class="w3-large">ĐỀ TÀI TÌM VIỆC LÀM THỜI VỤ CHO SINH VIÊN</span>
<p><a href="#intro" class="w3-button w3-white w3-padding-large w3-large w3-margin-top w3-opacity w3-hover-opacity-off">Start Now</a></p>
</div>
</header>
<!-- 3 Section -->
<div class="w3-container w3-animate-top" style="padding:128px 16px" id="intro">
<h2 class="w3-center w3-round-xxlarge w3-teal"><b>GIỚI THIỆU</b></h2>
<div class="w3-row-padding w3-center" style="margin-top:64px">
<div class="w3-third">
<i class="fa fa-exclamation w3-margin-bottom w3-jumbo w3-center"></i>
<p class="w3-large"><b>Vấn đề</b></p>
<ul>
<li>Các sinh viên, học sinh có mong muốn tìm được việc làm để trang trải cuộc sống, giúp đỡ gia đình. Tuy nhiên công việc part-time có thể không thuận tiện về mặt thời gian.</li>
<li>Các nhà hàng, khu vui chơi, nhà tổ chức cần kiếm người làm gấp vào các dịp sự kiện, đông khách. Họ mong muốn tìm người một cách nhanh nhất. Nhưng không phải ai cũng thích công việc thời vụ</li>
</ul>
</div>
<div class="w3-third">
<i class="fa fa-heart w3-margin-bottom w3-jumbo"></i>
<p class="w3-large"><b>Mục tiêu</b></p>
<ul>
<li>Xây dựng một Web site là cầu nối giữa sinh viên và các nơi tuyển dụng</li>
<li>Quy mô tìm kiếm nhân sự của những nơi tuyển dụng được mở rộng trên Internet</li>
<li>Sinh viên có một nguồn thông tin để tìm kiếm dễ dàng các công việc thời vụ, đa dạng hơn.</li>
<li>Đảm bảo độ tin cậy và điều kiện làm việc cho 2 bên.</li>
</ul>
</div>
<div class="w3-third">
<i class="fa fa-users w3-margin-bottom w3-jumbo"></i>
<p class="w3-large"><b>Đối tượng</b></p>
<ul>
<li><b>Người tìm kiếm công việc : </b>Sinh viên, học sinh và những người muốn làm thêm ngoài giời để kiếm thêm thu nhập.</li>
<li><b>Người cần tuyển việc</b></li>
</ul>
</div>
</div>
</div>
<!-- Loi ich -->
<div class="w3-container w3-light-grey w3-animate-top" style="padding:128px 16px" id="benefit">
<h2 class="w3-center w3-round-xxlarge w3-teal"><b>LỢI ÍCH</b></h2>
<div class="w3-row-padding w3-center" style="margin-top:64px">
<div class="w3-half">
<i class="fa fa-user w3-margin-bottom w3-jumbo"></i>
<p class="w3-large"><b>Người làm việc</b></p>
<ul>
<li>Tạo nguồn thu nhập</li>
<li>Thời gian làm việc linh động, phụ thuộc vào mình</li>
<li>Dễ dàng tìm kiếm và tìm hiểu công việc </li>
<li>Trao đổi thông tin, thủ tục hoàn toàn trên website, tiết kiệm thời gian</li>
</ul>
</div>
<div class="w3-half">
<i class="fa fa-briefcase w3-margin-bottom w3-jumbo"></i>
<p class="w3-large"><b>Nơi tuyển dụng</b></p>
<ul>
<li>Miễn phí đăng tin việc làm trên website, tiết kiệm chi phí tuyển dụng</li>
<li>Tìm kiếm nhân sự nhanh chóng, hiệu quả, tin cậy</li>
<li>Thông tin nhân sự đầy đủ, hợp đồng tường minh, rõ ràng</li>
<li>Miễn phí đặt logo, banner trên website để quảng cáo</li>
</ul>
</div>
</div>
</div>
<!-- Giai phap -->
<div class="w3-container w3-animate-top" style="padding:128px 16px" id="solution">
<div class="w3-row-padding w3-center" style="margin-top:64px">
<h2 class="w3-center w3-round-xxlarge w3-teal">MÔ HÌNH LÀM VIỆC</h2>
<h3 class="w3-center w3-padding-16"><b>7 bước để trở thành nhân viên thời vụ EzMoney<sup><i>$</i></sup></b></h3>
<div class="w3-half">
<p class="w3-large" style="margin-top: 64px"><b>Bước 1 : Tạo tài khoản</b></p>
<img src="http://i.imgur.com/DwAR4sM.png" alt="Buoc 1" class="img_sol">
<div class="w3-center">
<!-- Open modal -->
<button onclick="document.getElementById('id01').style.display='block'" class="w3-button w3-round w3-hover-red w3-border">Tìm hiểu thêm</button>
<!-- Modal -->
<div id="id01" class="w3-modal">
<div class="w3-modal-content w3-animate-zoom">
<div class="w3-container">
<span onclick="document.getElementById('id01').style.display='none'" class="w3-button w3-display-topright">×</span>
<h2><b>Bước 1 : Tạo tài khoản</b></h2>
<img src="http://i.imgur.com/DwAR4sM.png" alt="Buoc 1" class="img_sol">
<p>Tạo một tài khoản để đăng nhập vào trang web</p>
</div>
</div>
</div>
</div>
</div>
<div class="w3-half">
<p class="w3-large" style="margin-top: 64px"><b>Bước 2 : Tìm việc</b></p>
<img src="http://i.imgur.com/mhyKLNB.png" alt="Buoc 2" class="img_sol">
<div class="w3-center">
<!-- Open modal -->
<button onclick="document.getElementById('id02').style.display='block'" class="w3-button w3-round w3-hover-red w3-border">Tìm hiểu thêm</button>
<!-- Modal -->
<div id="id02" class="w3-modal">
<div class="w3-modal-content w3-animate-zoom">
<div class="w3-container">
<span onclick="document.getElementById('id02').style.display='none'" class="w3-button w3-display-topright">×</span>
<h2><b>Bước 2 : Tìm việc</b></h2>
<img src="http://i.imgur.com/mhyKLNB.png" alt="Buoc 2" class="img_sol">
<ul>
<li>Tìm công việc một cách nhanh chóng tiện lợi</li>
<li>Tìm kiếm công việc theo thứ tự khung giờ và địa điểm</li>
<li>Công việc đa dạng, lương bổng hợp lý</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="w3-half">
<p class="w3-large" style="margin-top: 64px"><b>Bước 3 : Đăng kí</b></p>
<img src="http://i.imgur.com/x4VzGrs.png" alt="Buoc 3" class="img_sol">
<div class="w3-center">
<!-- Open modal -->
<button onclick="document.getElementById('id03').style.display='block'" class="w3-button w3-round w3-hover-red w3-border">Tìm hiểu thêm</button>
<!-- Modal -->
<div id="id03" class="w3-modal">
<div class="w3-modal-content w3-animate-zoom">
<div class="w3-container">
<span onclick="document.getElementById('id03').style.display='none'" class="w3-button w3-display-topright">×</span>
<h2><b>Bước 3 : Đăng kí</b></h2>
<img src="http://i.imgur.com/x4VzGrs.png" alt="Buoc 3" class="img_sol">
<ul>
<li>Đăng kí nhận công việc mình ưng ý đơn giản, dễ dàng, mọi thủ tục để thực hiện trên website</li>
<li>Có thể hủy đăng kí nếu cảm thấy không thích công việc trong một khoảng thời gian website qui định</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="w3-half">
<p class="w3-large" style="margin-top: 64px"><b>Bước 4 : Kiểm tra hợp đồng</b></p>
<img src="http://i.imgur.com/O5IcB3I.png" alt="Buoc 4" class="img_sol">
<div class="w3-center">
<!-- Open modal -->
<button onclick="document.getElementById('id04').style.display='block'" class="w3-button w3-round w3-hover-red w3-border">Tìm hiểu thêm</button>
<!-- Modal -->
<div id="id04" class="w3-modal">
<div class="w3-modal-content w3-animate-zoom">
<div class="w3-container">
<span onclick="document.getElementById('id04').style.display='none'" class="w3-button w3-display-topright">×</span>
<h2><b>Bước 4 : Kiểm tra hợp đồng</b></h2>
<img src="http://i.imgur.com/O5IcB3I.png" alt="Buoc 4" class="img_sol">
<ul>
<li>Sau khi đã quyết định chắc chắn nhận công việc, sẽ có một hợp đồng online gửi đến để bạn chấp nhận, nhằm bảo vệ quyền lợi cho bạn khi làm việc</li>
<li>Nếu vi phạm hợp đồng thì sẽ phải bồi thường</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="w3-half">
<p class="w3-large" style="margin-top: 64px"><b>Bước 5 : Đi làm</b></p>
<img src="http://i.imgur.com/1JFIwxj.png" alt="Buoc 5" class="img_sol">
<div class="w3-center">
<!-- Open modal -->
<button onclick="document.getElementById('id05').style.display='block'" class="w3-button w3-round w3-hover-red w3-border">Tìm hiểu thêm</button>
<!-- Modal -->
<div id="id05" class="w3-modal">
<div class="w3-modal-content w3-animate-zoom">
<div class="w3-container">
<span onclick="document.getElementById('id05').style.display='none'" class="w3-button w3-display-topright">×</span>
<h2><b>Bước 5 : Đi làm</b></h2>
<img src="http://i.imgur.com/1JFIwxj.png" alt="Buoc 5" class="img_sol">
<p>Xách ba lô lên và đi làm !!</p>
</div>
</div>
</div>
</div>
</div>
<div class="w3-half">
<p class="w3-large" style="margin-top: 64px"><b>Bước 6 : Nhận lương</b></p>
<img src="http://i.imgur.com/jkErqzX.png" alt="Buoc 6" class="img_sol">
<div class="w3-center">
<!-- Open modal -->
<button onclick="document.getElementById('id06').style.display='block'" class="w3-button w3-round w3-hover-red w3-border">Tìm hiểu thêm</button>
<!-- Modal -->
<div id="id06" class="w3-modal">
<div class="w3-modal-content w3-animate-zoom">
<div class="w3-container">
<span onclick="document.getElementById('id06').style.display='none'" class="w3-button w3-display-topright">×</span>
<h2><b>Bước 6 : Nhận lương</b></h2>
<img src="http://i.imgur.com/jkErqzX.png" alt="Buoc" 6 class="img_sol">
<p>Nhận lương sau khi làm việc</p>
</div>
</div>
</div>
</div>
</div>
<div class="w3-quarter">
<div class="w3-container"></div>
</div>
<div class="w3-half">
<p class="w3-large" style="margin-top: 64px"><b>Bước 7 : Phản hồi</b></p>
<img src="http://i.imgur.com/h1F5odI.png" alt="Buoc 7" class="img_sol">
<div class="w3-center">
<!-- Open modal -->
<button onclick="document.getElementById('id07').style.display='block'" class="w3-button w3-round w3-hover-red w3-border">Tìm hiểu thêm</button>
<!-- Modal -->
<div id="id07" class="w3-modal">
<div class="w3-modal-content w3-animate-zoom">
<div class="w3-container">
<span onclick="document.getElementById('id07').style.display='none'" class="w3-button w3-display-topright">×</span>
<h2><b>Bước 7 : Phản hồi</b></h2>
<img src="http://i.imgur.com/h1F5odI.png" alt="Buoc 7" class="img_sol">
<ul>
<li>Sau khi làm việc, bạn có thể lên website để phản hồi lại về công việc bạn làm như thế nào, có đúng thỏa thuận, có nhận đầu đủ lương</li>
<li>Nếu có sự cố, dựa vào hợp đồng website sẽ bảo vệ quyền lợi cho bạn</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="w3-quarter">
<div class="w3-container"></div>
</div>
</div>
</div>
<!-- DEMO -->
<div class="w3-container w3-light-grey w3-animate-top" style="padding:128px 16px" id="demo">
<h2 class="w3-center w3-round-xxlarge w3-teal">DEMO</h2>
<div class="w3-row-padding w3-center" style="margin-top:64px">
<div class="w3-bar w3-center">
<button class="w3-bar w3-ripple w3-button tablink w3-red w3-mobile" onclick="openDemo(event,'Demo1')">Trang web chính</button>
<button class="w3-bar w3-ripple w3-button tablink w3-mobile" onclick="openDemo(event,'Demo2')">Đăng kí</button>
<button class="w3-bar w3-ripple w3-button tablink w3-mobile" onclick="openDemo(event,'Demo3')">Tài khoản sinh viên</button>
</div>
<div id="Demo1" class="w3-container demo_img">
<img src="http://i.imgur.com/s5vN8Tw.jpg" style="width: 80%" alt="Demo_Web" style="text-align: center">
</div>
<div id="Demo2" class="w3-container demo_img" style="display:none">
<img src="http://i.imgur.com/Cma92mw.png" style="width: 80%" alt="Demo_Web" style="text-align: center">
</div>
<div id="Demo3" class="w3-container demo_img" style="display:none">
<img src="http://i.imgur.com/LQyQ0zp.png" style="width: 80%" alt="Demo_Web" style="text-align: center">
</div>
</div>
</div>
<!-- Team Section -->
<div class="w3-container w3-animate-top" style="padding:128px 16px" id="team">
<h2 class="w3-center w3-round-xxlarge w3-teal">MEET MY TEAM</h2>
<div class="w3-row-padding" style="margin-top:64px">
<div class="w3-col l3 m6 w3-margin-bottom">
<div class="w3-card-2">
<img src="http://i.imgur.com/yn2cg7p.jpg" alt="Hoang Phi" style="width:100%">
<div class="w3-container" style="text-align: center">
<h4>Tăng Nguyễn Hoàng Phi</h4>
<h5>MSSV : 1612493</h5>
<p>Team Leader</p>
<p>
<a href="https://github.com/akiabalo1706" target="_blank" style="text-decoration: none">
<button class="w3-button w3-light-grey w3-block"><i class="fa fa-github"></i> Github</button>
</a>
</p>
</div>
</div>
</div>
<div class="w3-col l3 m6 w3-margin-bottom">
<div class="w3-card-2">
<img src="http://i.imgur.com/cVgWlYz.jpg" alt="Tran Hau" style="width:100%">
<div class="w3-container" style="text-align: center">
<h4>Nguyễn Trần Hậu</h4>
<h5>MSSV : 1612180</h5>
<p>Thiết kế web</p>
<p>
<a href="https://github.com/SummerSad" target="_blank" style="text-decoration: none">
<button class="w3-button w3-light-grey w3-block"><i class="fa fa-github"></i> Github</button>
</a>
</p>
</div>
</div>
</div>
<div class="w3-col l3 m6 w3-margin-bottom">
<div class="w3-card-2">
<img src="http://i.imgur.com/5g7NTZx.jpg" alt="Duy Thanh" style="width:100%">
<div class="w3-container" style="text-align: center">
<h4>Nguyễn Duy Thanh</h4>
<h5>MSSV : 1612628</h5>
<p>Phụ trách nội dung</p>
<p>
<a href="https://github.com/thanhnguyenduy2304" target="_blank" style="text-decoration: none">
<button class="w3-button w3-light-grey w3-block"><i class="fa fa-github"></i> Github</button>
</a>
</p>
</div>
</div>
</div>
<div class="w3-col l3 m6 w3-margin-bottom">
<div class="w3-card-2">
<img src="http://i.imgur.com/xvH7XEJ.jpg" alt="Thanh Hoang" style="width:100%">
<div class="w3-container" style="text-align: center">
<h4>Đào Thanh Hoàng</h4>
<h5>MSSV : 1612214</h5>
<p>Thiết kế poster</p>
<p>
<a href="https://github.com/thanhnguyenduy2304 " target="_blank " style="text-decoration: none ">
<button class="w3-button w3-light-grey w3-block "><i class="fa fa-github "></i> Github</button>
</a>
</p>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="w3-center w3-black w3-padding-64 ">
<a href="#home " class="w3-button w3-light-grey "><i class="fa fa-arrow-up w3-margin-right "></i>Top</a>
<div class="w3-xlarge w3-section ">
<p>ĐỒ ÁN NHẬP MÔN CÔNG NGHỆ THÔNG TIN 2</p>
<a href="https://github.com/nmcntt2-cntn2016/project1-the-bananas " target="_blank "><i class="fa fa-github w3-hover-opacity "></i></a>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script>
// Toggle between showing and hiding the sidebar when clicking the menu icon
var mySidebar = document.getElementById("mySidebar");
function w3_open() {
if (mySidebar.style.display === 'block') {
mySidebar.style.display = 'none';
} else {
mySidebar.style.display = 'block';
}
}
// Close the sidebar with the close button
function w3_close() {
mySidebar.style.display = "none ";
}
// Get the modal
var modal_1 = document.getElementById('id01');
var modal_2 = document.getElementById('id02');
var modal_3 = document.getElementById('id03');
var modal_4 = document.getElementById('id04');
var modal_7 = document.getElementById('id07');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal_1) {
modal_1.style.display = "none ";
}
if (event.target == modal_2) {
modal_2.style.display = "none ";
}
if (event.target == modal_3) {
modal_3.style.display = "none ";
}
if (event.target == modal_4) {
modal_4.style.display = "none ";
}
if (event.target == modal_7) {
modal_7.style.display = "none ";
}
}
// Open demo
function openDemo(evt, demoName) {
var i;
var x = document.getElementsByClassName("demo_img ");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none ";
}
tablinks = document.getElementsByClassName("tablink ");
for (i = 0; i < x.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" w3-red ", " ");
}
document.getElementById(demoName).style.display = "block ";
evt.currentTarget.className += " w3-red ";
}
$(document).ready(function() {
// Add smooth scrolling to all links
$("a").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 800, function() {
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
});
</script>
</body>
</html>