-
Notifications
You must be signed in to change notification settings - Fork 0
/
nav.html
44 lines (42 loc) · 1.91 KB
/
nav.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
<nav id="navbar" class=" nav-center" role="navigation">
<div class="nav-wrapper container">
<a href="#" data-activates="mobile-demo" class="button-collapse"><i class="material-icons">menu</i></a>
<ul class="hide-on-med-and-down">
<li><a id="homebutton" href="#">HOME</a></li>
<li><a id="aboutbutton" href="#">ABOUT</a></li>
<li><a href="register.html">REGISTER</a></li>
<li><a href="sponsors.html">SPONSORS</a></li>
<li><a class="waves-effect waves-light btn-large" href="support_us.html">SUPPORT US</a></li>
</ul>
<ul class="grey darken-4 side-nav" id="mobile-demo">
<li><a class="waves-effect waves-light btn-large" style="color:White;" href="index.html">HOME</a></li>
<li><a class="waves-effect waves-light btn-large" style="color:White;" href="about.html">ABOUT</a></li>
<li><a class="waves-effect waves-light btn-large" style="color:White;" href="register.html">REGISTER</a></li>
<li><a class="waves-effect waves-light btn-large" style="color:White;" href="sponsors.html">SPONSORS</a></li>
<li><a class="waves-effect waves-light btn-large" style="color:White" href="support_us.html" >SUPPORT US</a></li>
</ul>
</div>
</nav>
<script type="text/javascript">
$(".button-collapse").sideNav();
</script>
<script>
var btn1 = document.getElementById('homebutton'),
btn2 = document.getElementById('aboutbutton');
function loadhome(){
$("#content-placeholder").load("logo.html")
$('.preloader-background').delay(1700).fadeOut('slow');
$('.preloader-wrapper')
.delay(1700)
.fadeOut();
}
function loadabout(){
$("#content-placeholder").load("logo.html")
$('.preloader-background').delay(1700).fadeOut('slow');
$('.preloader-wrapper')
.delay(1700)
.fadeOut();
}
btn1.onclick = loadhome;
btn1.onclick = loadabout;
</script>