Difference between revisions of "Template:Paris Saclay"

m
(Changed mathjax script)
 
(33 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
<html>
 
<html>
 +
<script src="https://2015.igem.org/Team:Paris_Saclay/jquery?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Team:Paris_Saclay/bootstrapjs?action=raw&ctype=text/javascript"></script>
 
<script src="https://2015.igem.org/Team:Paris_Saclay/bootstrapjs?action=raw&ctype=text/javascript"></script>
 +
<!-- MathJax (LaTeX for the web) -->
 +
    <script type="text/x-mathjax-config">
 +
        MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
 +
        MathJax.Hub.Config({
 +
            TeX: {
 +
                equationNumbers: {  autoNumber: "AMS"  }
 +
            }
 +
        });
 +
    </script>
 +
    <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 +
 
<script>
 
<script>
 
$( document ).ready(function() {
 
$( document ).ready(function() {
        console.log( "document loaded" );
+
    $('body').scrollspy({ target: '#submenups', offset:150 })
     });
+
     $('li.active').prevAll().addClass('before');
+
     $('#submenups').on('activate.bs.scrollspy', function () {
     $( window ).load(function() {
+
         $('li.active').prevAll().addClass('before');
         console.log( "window loaded" );
+
        $('li.active').removeClass('before');
     });
+
        $('li.active').nextAll().removeClass('before');
 +
     })
 +
});
 
</script>
 
</script>
 
<!-- ParisSaclay menu -->
 
<!-- ParisSaclay menu -->
 
<div class="container header">
 
<div class="container header">
<nav><ul>
+
<nav id="menups"><ul class="nav">
 
<li><a href="https://2015.igem.org/Team:Paris_Saclay"><img src="https://static.igem.org/mediawiki/2015/3/31/Paris_Saclay-logo-header.png" alt="iGEM Paris Saclay" style="width: 160px;margin-top:-12px;"></a></li>
 
<li><a href="https://2015.igem.org/Team:Paris_Saclay"><img src="https://static.igem.org/mediawiki/2015/3/31/Paris_Saclay-logo-header.png" alt="iGEM Paris Saclay" style="width: 160px;margin-top:-12px;"></a></li>
<li><a href="https://2015.igem.org/Team:Paris_Saclay">Home</a></li>
+
<li class="</html>{{{team}}}<html>"><a href="https://2015.igem.org/Team:Paris_Saclay/Team">Team</a></li>
<li><a href="https://2015.igem.org/Team:Paris_Saclay/Team">Team</a></li>
+
<li class="</html>{{{project}}}<html>"><a href="https://2015.igem.org/Team:Paris_Saclay/Description">Project</a></li>
<li><a href="https://2015.igem.org/Team:Paris_Saclay/Description">Project</a></li>
+
<li class="</html>{{{labwork}}}<html>"><a href="https://2015.igem.org/Team:Paris_Saclay/Notebook">Lab work</a></li>
<li><a href="https://2015.igem.org/Team:Paris_Saclay/Notebook">Lab work</a></li>
+
<li class="</html>{{{interlab}}}<html>"><a href="https://2015.igem.org/Team:Paris_Saclay/Measurement">Interlab Study</a></li>
<li><a href="https://2015.igem.org/Team:Paris_Saclay/Measurement">Interlab Study</a></li>
+
<li class="</html>{{{practices}}}<html>"><a href="https://2015.igem.org/Team:Paris_Saclay/Practices">Human Practices</a></li>
<li><a href="https://2015.igem.org/Team:Paris_Saclay/Practices">Human Practices</a></li>
+
<li class="</html>{{{achievements}}}<html>"><a href="https://2015.igem.org/Team:Paris_Saclay/Achievements">Achievements</a></li>
<li><a href="https://2015.igem.org/Team:Paris_Saclay/Achievements">Achievements</a></li>
+
 
</ul></nav>
 
</ul></nav>
 
</div>
 
</div>
Line 28: Line 41:
 
</html>{{{submenu|}}}<html>
 
</html>{{{submenu|}}}<html>
 
</div>
 
</div>
<div class="container">
+
<div class="container content">
 
</html>
 
</html>

Latest revision as of 02:16, 19 September 2015