|
|
Line 174: |
Line 174: |
| height: 100vh; | | height: 100vh; |
| width: 90%; | | width: 90%; |
− | margin-left: 50px; | + | margin-left: auto; |
| margin-right: auto; | | margin-right: auto; |
| margin-top: -10px; | | margin-top: -10px; |
Line 678: |
Line 678: |
| | | |
| <ul> | | <ul> |
− | <li><strong><a href="https://2016.igem.org/Team:Manchester/Model">Overview</a></strong></li> | + | <li><strong><a h |
− | <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>
| + | |