Difference between revisions of "Template:Paris Saclay"

m
(Changed mathjax script)
 
(25 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<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/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('test')
+
     $('body').scrollspy({ target: '#submenups', offset:150 })
     $('body').scrollspy({ target: '#submenups' })
+
     $('li.active').prevAll().addClass('before');
 +
    $('#submenups').on('activate.bs.scrollspy', function () {
 +
        $('li.active').prevAll().addClass('before');
 +
        $('li.active').removeClass('before');
 +
        $('li.active').nextAll().removeClass('before');
 +
    })
 
});
 
});
 
</script>
 
</script>
Line 14: Line 30:
 
<nav id="menups"><ul class="nav">
 
<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 26: Line 41:
 
</html>{{{submenu|}}}<html>
 
</html>{{{submenu|}}}<html>
 
</div>
 
</div>
<div class="container" data-spy="scroll" data-target="#menups">
+
<div class="container content">
 
</html>
 
</html>

Latest revision as of 02:16, 19 September 2015