Difference between revisions of "Template:Northwestern Page Head"

Line 367: Line 367:
  
 
<body>
 
<body>
 
<div id="myNav" class="overlay">
 
  <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
 
  <div class="overlay-content">
 
    <a href="#">Home</a>
 
<hr>
 
 
    <a href="#">Team</a> <br>
 
    <a href="#" style="font-size: 18px" > Attributions </a>
 
    <a href="#" style="font-size: 18px"> Sponsors </a>
 
<hr>
 
 
    <a href="#">Project</a>
 
    <a href="#">Contact</a>
 
  </div>
 
</div>
 
 
<button style="color: red" width="200px" height="200px">
 
<span style="font-size:30px;cursor:pointer" class="w3-left" onclick="openNav()">&#9776; </span>
 
</button>
 
 
<script>
 
function openNav() {
 
    document.getElementById("myNav").style.height = "100%";
 
}
 
 
function closeNav() {
 
    document.getElementById("myNav").style.height = "0%";
 
}
 
</script>
 
  
  

Revision as of 21:33, 28 July 2017

Northwestern Template