Difference between revisions of "Template:Oxford"

 
(28 intermediate revisions by 4 users not shown)
Line 41: Line 41:
 
   <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
 
   <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
 
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
   <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/0.1/MathJax.js?config=TeX-MML-AM_CHTML'></script>
+
   <script type="text/javascript" async
 +
    src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML">
 +
  </script>
 
    
 
    
 
   <!-- Latest compiled and minified CSS -->
 
   <!-- Latest compiled and minified CSS -->
Line 62: Line 64:
 
   </script>
 
   </script>
  
 +
 
 
</head>
 
</head>
  
Line 95: Line 98:
 
           <ul class="dropdown-menu">
 
           <ul class="dropdown-menu">
 
             <li><a href="https://2017.igem.org/Team:Oxford/Description">Description</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Description">Description</a></li>
 +
 
             <li><a href="https://2017.igem.org/Team:Oxford/Chagas_Disease">Chagas Disease</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Chagas_Disease">Chagas Disease</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Chagas_Public_Policy">Chagas Public Policy</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Chagas_Public_Policy">Chagas Public Policy</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Design">Design</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Design">Design</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Parts">Parts</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Parts">Parts</a></li>
            <li><a href="https://2017.igem.org/Team:Oxford/Safety">Safety</a></li>
 
 
             <li><a href="https://2017.igem.org/Team:Oxford/Applied_Design">Applied Design</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Applied_Design">Applied Design</a></li>
 +
                <li><a href="https://2017.igem.org/Team:Oxford/Applied_Design_Developing">--Developing our Design</a></li>
 +
                <li><a href="https://2017.igem.org/Team:Oxford/Applied_Design_Solution">--Our Solution</a></li>
 +
                <li><a href="https://2017.igem.org/Team:Oxford/Applied_Design_Implementation">--Implementation</a></li>
 +
            <li><a href="https://2017.igem.org/Team:Oxford/Safety">Safety</a></li>
 +
            <li><a href="https://2017.igem.org/Team:Oxford/Cell_Free_Report">Cell Free Report</a></li>
 +
            <li><a href="https://2017.igem.org/Team:Oxford/InitialIdeas">Initial Ideas</a></li>
 
           </ul>
 
           </ul>
 
         </li>
 
         </li>
Line 110: Line 119:
 
           </a>
 
           </a>
 
           <ul class="dropdown-menu">
 
           <ul class="dropdown-menu">
             <li><a href="https://2017.igem.org/Team:Oxford/Overview_Web_Lab">Overview</a></li>
+
             <li><a href="https://2017.igem.org/Team:Oxford/Overview_Wet_Lab">Overview</a></li>
             <li><a href="https://2017.igem.org/Team:Oxford/Results_Wet_Lab">Results</a></li>
+
             <li><a href="https://2017.igem.org/Team:Oxford/Cloning">Results (Cloning)</a></li>
             <li><a href="https://2017.igem.org/Team:Oxford/Experiments">Experiments</a></li>
+
             <li><a href="https://2017.igem.org/Team:Oxford/Results_DNA">Results (DNA-Based system)</a></li>
 +
            <li><a href="https://2017.igem.org/Team:Oxford/Results_Protein">Results (Protein-Based system)</a></li>
 +
            <li><a href="https://2017.igem.org/Team:Oxford/Future_experiments">Future Experiments</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Protocols">Protocols</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Protocols">Protocols</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Notebook">Notebook</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Notebook">Notebook</a></li>
            <li><a href="https://2017.igem.org/Team:Oxford/Sequences">Sequences</a></li>
 
 
             <li><a href="https://2017.igem.org/Team:Oxford/InterLab">Interlab</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/InterLab">Interlab</a></li>
             <li><a href="https://2017.igem.org/Team:Oxford/Measurement">Measurement</a></li>
+
             <li><a href="https://2017.igem.org/Team:Oxford/Measurement">Measurement</a></li>          
 +
           
 +
           
 
           </ul>
 
           </ul>
 
         </li>
 
         </li>
Line 130: Line 142:
 
           <ul class="dropdown-menu">
 
           <ul class="dropdown-menu">
 
             <li><a href="https://2017.igem.org/Team:Oxford/Model">Overview</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Model">Overview</a></li>
             <li><a href="https://2017.igem.org/Team:Oxford/Results_Dry_Lab">Results</a></li>
+
             <!-- <li><a href="https://2017.igem.org/Team:Oxford/Results_Dry_Lab">Results</a></li> -->
             <li><a href="https://2017.igem.org/Team:Oxford/Cell_Free_Model">Cell-Free Model</a></li>
+
             <li><a href="https://2017.igem.org/Team:Oxford/DNA_Based_Model">DNA-Based Model</a></li>
             <li><a href="https://2017.igem.org/Team:Oxford/OMV_Model">OMV Model</a></li>
+
            <li><a href="https://2017.igem.org/Team:Oxford/Protein_Based_Model">Protein-Based Model</a></li>
 +
            <!-- <li><a href="https://2017.igem.org/Team:Oxford/Cell_Free_Model">Cell-Free Model</a></li> -->
 +
             <!-- <li><a href="https://2017.igem.org/Team:Oxford/OMV_Model">OMV Model</a></li> -->
 
             <li><a href="https://2017.igem.org/Team:Oxford/Disease_Model">Disease Model</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Disease_Model">Disease Model</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Software">Software</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Software">Software</a></li>
Line 161: Line 175:
 
             <li><a href="https://2017.igem.org/Team:Oxford/Attributions">Attributions</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Attributions">Attributions</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Sponsors">Sponsors</a></li>
 
             <li><a href="https://2017.igem.org/Team:Oxford/Sponsors">Sponsors</a></li>
 +
            <li><a href="https://2017.igem.org/Team:Oxford/Awards">Our Awards</a></li>
 
           </ul>
 
           </ul>
 
         </li>
 
         </li>
Line 187: Line 202:
 
   </div>
 
   </div>
 
</nav>
 
</nav>
 +
<script>
 +
//
 +
function checkScroll(){
 +
    var startY = 200; //The point where the navbar changes in px
 +
 +
    if($(window).scrollTop() > startY){
 +
        $('.navbar').addClass("scrolled");
 +
    }else{
 +
        $('.navbar').removeClass("scrolled");
 +
    }
 +
}
 +
 +
if($('.navbar').length > 0){
 +
    $(window).on("scroll load resize", function(){
 +
        checkScroll();
 +
    });
 +
}
 +
</script>

Latest revision as of 18:36, 15 December 2017