m |
Gaetancousin (Talk | contribs) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 23: | 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 32: | 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)} |
} | } | ||
}) | }) | ||
Line 46: | Line 46: | ||
<header> | <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> | </html> |
Latest revision as of 18:18, 18 October 2016