(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | |||
<html> | <html> | ||
<head> | <head> | ||
Line 5: | Line 6: | ||
+ | <!-- Bootstrap CSS and javascript --> | ||
<link rel="stylesheet" href="https://2016.igem.org/Team:NYU-AD/libraries/bootstrap-3_3_6?action=raw&ctype=text/css"> | <link rel="stylesheet" href="https://2016.igem.org/Team:NYU-AD/libraries/bootstrap-3_3_6?action=raw&ctype=text/css"> | ||
− | |||
<script type="text/javascript" src="https://2016.igem.org/Team:NYU-AD/libraries/Bootstrap-js?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2016.igem.org/Team:NYU-AD/libraries/Bootstrap-js?action=raw&ctype=text/javascript"></script> | ||
− | |||
+ | <!-- font awesome css --> | ||
+ | <link rel="stylesheet" href="https://2016.igem.org/Team:NYU-AD/libraries/css/font-awesome_min_css?action=raw&ctype=text/css" type="text/css" /> | ||
+ | <!-- jquery javascript --> | ||
+ | <script type="text/javascript" src="https://2016.igem.org/Team:NYU-AD/libraries/jquery-1_12_4_min_js?action=raw&ctype=text/javascript"> | ||
+ | </script> | ||
− | + | <!-- My own CSS stylesheet --> | |
+ | <link rel="stylesheet" href="https://2016.igem.org/Team:NYU-AD/libraries/NYUAD_CSSstylesheet?action=raw&ctype=text/css"> | ||
− | . | + | $(document).ready(function(){ |
− | + | ||
− | # | + | $(window).scroll(function() { |
+ | if ($(document).scrollTop() > 50) { | ||
+ | // alert('you'); | ||
+ | $('nav').addClass('shrink'); | ||
+ | $('#nyuad-logo').css("height","44px"); | ||
+ | |||
+ | } else { | ||
+ | $('nav').removeClass('shrink'); | ||
+ | $('#nyuad-logo').css("height","66px"); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</head> | </head> | ||
Line 133: | Line 70: | ||
<li><a href="https://2016.igem.org/Team:NYU-AD/Results">Results</a></li> | <li><a href="https://2016.igem.org/Team:NYU-AD/Results">Results</a></li> | ||
<li><a href="https://2016.igem.org/Team:NYU-AD/Notebook">Notebook</a></li> | <li><a href="https://2016.igem.org/Team:NYU-AD/Notebook">Notebook</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:NYU-AD/Interlab">Interlab</a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 145: | Line 83: | ||
</li> | </li> | ||
<li class="dropdown"> | <li class="dropdown"> | ||
− | <a class="dropdown-toggle" data-toggle="dropdown" href="#"> | + | <a class="dropdown-toggle" data-toggle="dropdown" href="#">PARTS<span class="caret"></span></a> |
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
<li><a href="https://2016.igem.org/Team:NYU-AD/Parts">Parts</a></li> | <li><a href="https://2016.igem.org/Team:NYU-AD/Parts">Parts</a></li> | ||
Line 154: | Line 92: | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | + | <li class="dropdown"> | |
− | <li><a href="https://2016.igem.org/Team:NYU-AD/Safety"> | + | |
− | + | <li><a href="https://2016.igem.org/Team:NYU-AD/Safety">SAFETY</a></li> | |
+ | |||
</li> | </li> | ||
<li class="dropdown"> | <li class="dropdown"> | ||
− | |||
− | + | <li><a href="https://2016.igem.org/Team:NYU-AD/Attributions">ATTRIBUTIONS</a></li> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | |||
<li class="dropdown"> | <li class="dropdown"> | ||
Line 182: | Line 112: | ||
<li><a href="https://2016.igem.org/Team:NYU-AD/Human_Practices">Human Practices</a></li> | <li><a href="https://2016.igem.org/Team:NYU-AD/Human_Practices">Human Practices</a></li> | ||
<li><a href="https://2016.igem.org/Team:NYU-AD/HP/Silver">Silver</a></li> | <li><a href="https://2016.igem.org/Team:NYU-AD/HP/Silver">Silver</a></li> | ||
− | <li><a href="https://2016.igem.org/Team:NYU-AD/HP/Gold">Gold</a></li> | + | <li><a href="https://2016.igem.org/Team:NYU-AD/HP/Gold">Gold</a></li> |
− | <li><a href="https://2016.igem.org/Team:NYU-AD/Integrated_Practices">Integrated Practices</a></li> | + | <li><a href="https://2016.igem.org/Team:NYU-AD/Integrated_Practices">Integrated Practices</a></li> |
− | <li><a href="https://2016.igem.org/Team:NYU-AD/Engagement">Engagement</a></li> | + | <li><a href="https://2016.igem.org/Team:NYU-AD/Engagement">Engagement</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
<li class="dropdown"> | <li class="dropdown"> | ||
− | <a class="dropdown-toggle" data-toggle="dropdown" href="#"> | + | <a class="dropdown-toggle" data-toggle="dropdown" href="#">AWARDS<span class="caret"></span></a> |
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
<li><a href="https://2016.igem.org/Team:NYU-AD/Entrepreneurship">Entrepreneurship</a></li> | <li><a href="https://2016.igem.org/Team:NYU-AD/Entrepreneurship">Entrepreneurship</a></li> | ||
Line 205: | Line 135: | ||
</div> | </div> | ||
</nav> | </nav> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | $(document).ready(function(){ | ||
+ | |||
+ | $(window).scroll(function() { | ||
+ | if ($(document).scrollTop() > 50) { | ||
+ | // alert('you'); | ||
+ | $('nav').addClass('shrink'); | ||
+ | $('#nyuad-logo').css("height","44px"); | ||
+ | |||
+ | } else { | ||
+ | $('nav').removeClass('shrink'); | ||
+ | $('#nyuad-logo').css("height","66px"); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> |
Latest revision as of 20:27, 5 October 2016