Team:NTU-Taida/Templates/Footer
From 2012.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
}); | }); | ||
+ | // table formatting | ||
+ | $('table.wikitable').removeClass('wikitable').addClass('table table-boarded').css({ | ||
+ | 'margin': '1em 1em 1em 0' | ||
+ | }); | ||
+ | |||
//for sidebar and scroll spy | //for sidebar and scroll spy | ||
$('#toc').hide(); | $('#toc').hide(); | ||
Line 31: | Line 36: | ||
$('h2[class!="firstHeading"]').has('span.mw-headline').wrap('<div class="page-header"></div>'); | $('h2[class!="firstHeading"]').has('span.mw-headline').wrap('<div class="page-header"></div>'); | ||
- | + | $('#toc').remove(); | |
$('body').attr({ | $('body').attr({ | ||
Line 66: | Line 71: | ||
$('#wiki-navbar.nav > li:contains("</html>{{{ActiveNavbar|Home}}}<html>")').addClass('active'); | $('#wiki-navbar.nav > li:contains("</html>{{{ActiveNavbar|Home}}}<html>")').addClass('active'); | ||
}); | }); | ||
+ | |||
+ | |||
</script> | </script> | ||
<p></html> | <p></html> |
Revision as of 06:47, 1 September 2012