Difference between revisions of "Template:UMaryland/Navbar"

(Created blank page)
 
Line 1: Line 1:
 +
{{UMaryland/CSS}}
 +
<html>
  
 +
<body>
 +
<div id="navigationBar">
 +
<div class="row">
 +
<div class="columnRight c8"></div> <!-- navbar options are floated right - so it's upside down lmao !-->
 +
<div class="navigationBarOption">
 +
For Judges
 +
<div class="navigationBarDropdown hidden">
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Sitemap">Sitemap</a></li>
 +
<li><a href="https://igem.org/2018_Judging_Form?team=UMaryland">Judging Form</a></li>
 +
</div>
 +
</div>
 +
 +
<div class="navigationBarOption"><!-- lmao do we even have a team page !-->
 +
Team
 +
<div class="navigationBarDropdown hidden">
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Team">Our Team</a></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Acknowledgements">Acknowledgements</a></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Sponsors">Sponsors</a></li>
 +
<li class="navigationBarDropdownDivider"></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Notebook">Notebook</a></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Protocols">Protocols</a></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Safety">Safety</a></li>
 +
</div>
 +
</div>
 +
<div class="navigationBarOption"><!-- stole this idea from W&M (thx) !-->
 +
<a href="https://2018.igem.org/Team:UMaryland/Engagement">Engagement</a>
 +
<div class="navigationBarDropdown hidden">
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Human_Practices">Human Practices</a></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Public_Engagement">Outreach</a></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Collaboration">Collaboration</a></li>
 +
<li class="navigationBarDropdownDivider"></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/meetup">2018 Mid-Atlantic Meetup</a></li>
 +
</div>
 +
</div>
 +
<div class="navigationBarOption"><!-- ripperino our basic part qq !-->
 +
<a href="https://2018.igem.org/Team:UMaryland/Parts">Parts</a>
 +
</div>
 +
<div class="navigationBarOption">
 +
<a href="https://2018.igem.org/Team:UMaryland/Description">Project</a>
 +
<div class="navigationBarDropdown hidden">
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Design">Design</a></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Hardware">Hardware</a></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Modeling">Modeling</a></li>
 +
<li class="navigationBarDropdownDivider"></li>
 +
<li><a href="https://2018.igem.org/Team:UMaryland/Results">Results</a></li>
 +
</div>
 +
</div>
 +
<div class="navigationBarOption">
 +
<a href="https://2018.igem.org/Team:UMaryland">Home</a>
 +
</div>
 +
</div>
 +
</div>
 +
<div id="navigationBarPlaceholder"></div>
 +
</body>
 +
 +
<script>
 +
$(document).ready(() => {
 +
//All the fancy navbar stuff - hopefully it works
 +
$('.navigationBarOption').on('mouseover', event => {
 +
$(event.currentTarget).children().removeClass('hidden');
 +
}).on('mouseleave', event => {
 +
$(event.currentTarget).children("div").addClass('hidden');
 +
});
 +
})
 +
</script>
 +
 +
</html>

Revision as of 17:17, 14 October 2018