Line 678: | Line 678: | ||
<ul> | <ul> | ||
− | <li><strong><a | + | <li><strong><a href="https://2016.igem.org/Team:Manchester/Model">Overview</a></strong></li> |
+ | <li><strong><a href="https://2016.igem.org/Team:Manchester/Model">Cell-free mechanism</a></strong></li> | ||
+ | <li><strong><a href="https://2016.igem.org/Team:Manchester/Model">Inducible Gene Switch</a></strong></li> | ||
+ | </ul> | ||
+ | |||
+ | </li> | ||
+ | </ul> | ||
+ | |||
+ | </nav> | ||
+ | |||
+ | |||
+ | </body> | ||
+ | |||
+ | <!-- MathJax (LaTeX for the web) --> | ||
+ | <script type="text/x-mathjax-config"> | ||
+ | MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); | ||
+ | </script> | ||
+ | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | ||
+ | |||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | $(".box-shadow-menu").click(function(){ | ||
+ | $("#nav_bar").toggle(); | ||
+ | }); | ||
+ | $( window ).resize(function() { | ||
+ | $("#nav_bar").show(); | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
+ | <script> | ||
+ | var startY = $('nav > ul').height(); | ||
+ | |||
+ | function checkScroll(){ | ||
+ | |||
+ | if($(window).scrollTop() > window.innerHeight + startY){ | ||
+ | $('nav > ul').addClass("scrolled"); | ||
+ | }else{ | ||
+ | $('nav > ul').removeClass("scrolled"); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | if($('nav > ul').length > 0){ | ||
+ | $(window).on("scroll load resize", function(){ | ||
+ | checkScroll(); | ||
+ | }); | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | </html> |
Revision as of 15:33, 22 September 2016