m |
Gaetancousin (Talk | contribs) |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
<html> | <html> | ||
− | + | <script src="https://2015.igem.org/Team:Paris_Saclay/jquery?action=raw&ctype=text/javascript"></script> | |
<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.3.min.js"></script> | <script type="text/javascript" src="https://code.jquery.com/jquery-2.2.3.min.js"></script> | ||
− | <script type="text/javascript" src=" | + | <script type="text/javascript" src="https://getbootstrap.com/dist/js/bootstrap.min.js"></script> |
− | + | <link href="https://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"> | |
− | + | ||
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<!-- Google Analytics --> | <!-- Google Analytics --> | ||
Line 34: | Line 17: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
− | |||
document.getElementById('compl').appendChild(document.getElementById('toc')); | document.getElementById('compl').appendChild(document.getElementById('toc')); | ||
document.getElementById('toctitle').outerHTML = ""; | document.getElementById('toctitle').outerHTML = ""; | ||
Line 41: | Line 23: | ||
$('#toc').children("ul").attr('id', 'tocnav'); | $('#toc').children("ul").attr('id', 'tocnav'); | ||
$('#tocnav').addClass('nav'); | $('#tocnav').addClass('nav'); | ||
− | $('body').scrollspy({ target: '#toc' | + | $('body').scrollspy({ target: '#toc' }); |
$('#toc').on('activate.bs.scrollspy', function () { | $('#toc').on('activate.bs.scrollspy', function () { | ||
Line 50: | Line 32: | ||
$('#toc').affix({ | $('#toc').affix({ | ||
offset: { | offset: { | ||
− | top: | + | top: 380, |
− | bottom: function () {return (this.bottom = $('.footer').outerHeight(true) + | + | bottom: function () {return (this.bottom = $('.footer').outerHeight(true) + 150)} |
} | } | ||
}) | }) | ||
+ | document.getElementById('tocnav').insertBefore(document.getElementById('titreps'), document.getElementById('tocnav').firstChild); | ||
}); | }); | ||
</script> | </script> | ||
− | + | </html> | |
+ | {{Team:Paris_Saclay/css}} | ||
+ | <html> | ||
+ | |||
+ | |||
+ | <header> | ||
+ | <!-- crispy with buble <img src="https://static.igem.org/mediawiki/2016/6/6b/T--Paris_Saclay--Crispy.png" class="logo-head"> --> | ||
+ | <!-- Old crispy <img src="https://static.igem.org/mediawiki/2016/c/cb/T--Paris_Saclay--logo_crispy.png" class="logo-head"> --> | ||
+ | |||
+ | </html> | ||
+ | {{Team:Paris_Saclay/menu}} | ||
+ | <html> | ||
+ | </header> | ||
+ | |||
+ | <!-- ParisSaclay menu | ||
<div class="container header"> | <div class="container header"> | ||
<nav id="menups"><ul class="nav"> | <nav id="menups"><ul class="nav"> | ||
Line 119: | Line 116: | ||
<li><a href="https://2016.igem.org/Team:Paris_Saclay/Safety">Safety</a></li> | <li><a href="https://2016.igem.org/Team:Paris_Saclay/Safety">Safety</a></li> | ||
</ul></nav> | </ul></nav> | ||
− | </div> | + | </div>--> |
<div class="container content"> | <div class="container content"> | ||
</html> | </html> |
Latest revision as of 18:18, 18 October 2016