Difference between revisions of "Template:Paris Saclay"

m
(Changed mathjax script)
 
(15 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() {
 +
    $('body').scrollspy({ target: '#submenups', offset:150 })
 
     $('li.active').prevAll().addClass('before');
 
     $('li.active').prevAll().addClass('before');
    $('body').scrollspy({ target: '#submenups', offset='30' })
 
 
     $('#submenups').on('activate.bs.scrollspy', function () {
 
     $('#submenups').on('activate.bs.scrollspy', function () {
 
         $('li.active').prevAll().addClass('before');
 
         $('li.active').prevAll().addClass('before');
Line 30: 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