(45 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
<script type="text/javascript" src="https://2017.igem.org/Template:NYU_Abu_Dhabi/BootstrapJS?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2017.igem.org/Template:NYU_Abu_Dhabi/BootstrapJS?action=raw&ctype=text/javascript"></script> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- Reset CSS --> | <!-- Reset CSS --> | ||
Line 235: | Line 26: | ||
<!-- END CUSTOM CSS --> | <!-- END CUSTOM CSS --> | ||
+ | <script> | ||
+ | window.onload = () => { | ||
+ | var activated; | ||
+ | var svg = document.getElementById("hero-image").getSVGDocument(); | ||
+ | |||
+ | var links = [ | ||
+ | ["bio", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Description"], | ||
+ | ["engineering", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Description"], | ||
+ | ["demo", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Demonstrate"], | ||
+ | ["integrated", "https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Gold_Integrated"], | ||
+ | ["hpsilver", "https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Silver"], | ||
+ | ["englab", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Engineering"], | ||
+ | ["design", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Applied_Design"], | ||
+ | ["app", "https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Silver"], | ||
+ | ["attributions", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Attributions"], | ||
+ | ["team", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Team"], | ||
+ | ["parts", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Parts"], | ||
+ | ["results", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Results"], | ||
+ | ["protocols", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Protocols"], | ||
+ | ["biolab", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Biology"] | ||
+ | ] | ||
+ | |||
+ | links.forEach(function (link) { | ||
+ | $(svg.getElementById(link[0])).hover(function () { | ||
+ | $(this).css('cursor', 'pointer'); | ||
+ | }, function () { | ||
+ | $(this).css('cursor', 'auto'); | ||
+ | }).click(function () { | ||
+ | window.location.href = link[1]; | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | |||
+ | } | ||
+ | </script> | ||
</head> | </head> | ||
Line 241: | Line 67: | ||
<!-- Navbar --> | <!-- Navbar --> | ||
<nav class="navbar navbar-expand-lg fixed-top navbar-light bg-light"> | <nav class="navbar navbar-expand-lg fixed-top navbar-light bg-light"> | ||
− | <a class="navbar-brand" href=" | + | <a class="navbar-brand" href="https://2017.igem.org/Team:NYU_Abu_Dhabi"> |
<img src="https://static.igem.org/mediawiki/2017/0/0d/T--NYU_Abu_Dhabi--horizontal-logo.png" alt="" /> | <img src="https://static.igem.org/mediawiki/2017/0/0d/T--NYU_Abu_Dhabi--horizontal-logo.png" alt="" /> | ||
</a> | </a> | ||
Line 250: | Line 76: | ||
<div class="collapse navbar-collapse" id="navbarNavDropdown"> | <div class="collapse navbar-collapse" id="navbarNavDropdown"> | ||
<ul class="navbar-nav"> | <ul class="navbar-nav"> | ||
− | <li class="nav-item | + | <li class="nav-item"> |
<a class="nav-link" href="https://2017.igem.org/Team:NYU_Abu_Dhabi">Home | <a class="nav-link" href="https://2017.igem.org/Team:NYU_Abu_Dhabi">Home | ||
<span class="sr-only">(current)</span> | <span class="sr-only">(current)</span> | ||
Line 264: | Line 90: | ||
<a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/Parts">Parts</a> | <a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/Parts">Parts</a> | ||
<a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/Demonstrate">Demo</a> | <a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/Demonstrate">Demo</a> | ||
− | |||
<a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/Applied_Design">Design</a> | <a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/Applied_Design">Design</a> | ||
</div> | </div> | ||
Line 290: | Line 115: | ||
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> | <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> | ||
<a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/HP">Overview</a> | <a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/HP">Overview</a> | ||
− | <a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Silver"> | + | <a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Silver">Human Practices</a> |
− | <a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Gold_Integrated">Integrated Practices</a> | + | <a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Gold_Integrated">Integrated Human Practices</a> |
<a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/Engagement">Engagement and Education</a> | <a class="dropdown-item" href="https://2017.igem.org/Team:NYU_Abu_Dhabi/Engagement">Engagement and Education</a> | ||
</div> | </div> | ||
Line 313: | Line 138: | ||
</nav> | </nav> | ||
− | <!-- BEGIN CONTENT HERE --> | + | <!-- BEGIN CONTENT HERE https://static.igem.org/mediawiki/2017/b/b2/FinalImg.svg--> |
− | + | ||
− | <object id="hero-image" data="https://static.igem.org/mediawiki/2017/ | + | <object id="hero-image" data="https://static.igem.org/mediawiki/2017/b/b2/FinalImg.svg" type="image/svg+xml"> </object> |
<!-- END CONTENT HERE --> | <!-- END CONTENT HERE --> | ||
Line 344: | Line 168: | ||
<div class="col-lg-4 footer-section"> | <div class="col-lg-4 footer-section"> | ||
<img class="footer-logo" src="https://static.igem.org/mediawiki/2017/7/71/IDT.png" /> | <img class="footer-logo" src="https://static.igem.org/mediawiki/2017/7/71/IDT.png" /> | ||
+ | <img class="footer-logo2" src="https://static.igem.org/mediawiki/2017/2/2d/T--UrbanTundra_Edmonton--igemlogo.jpg" /> | ||
<img class="footer-logo" src="https://static.igem.org/mediawiki/2017/c/c8/NYU_Abu_Dhabi.png" /> | <img class="footer-logo" src="https://static.igem.org/mediawiki/2017/c/c8/NYU_Abu_Dhabi.png" /> | ||
</div> | </div> |
Latest revision as of 17:44, 31 October 2017