Template:SUSTC-Shenzhen/main-content-begin
From 2014.igem.org
(Difference between revisions)
(4 intermediate revisions not shown) | |||
Line 13: | Line 13: | ||
.removeClass("toc") | .removeClass("toc") | ||
.children() | .children() | ||
+ | .children() | ||
+ | .children() | ||
+ | .children() | ||
.clone(); | .clone(); | ||
Line 20: | Line 23: | ||
.remove() | .remove() | ||
.end() | .end() | ||
- | .html( | + | .html('<div class="bs-docs-sidebar hidden-print hidden-xs hidden-sm" id="page-contents"></div>'); |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | toc_tbl.appendTo("# | + | toc_tbl.appendTo("#page-contents"); |
+ | $("#page-contents ul").addClass("nav"); | ||
+ | $("#page-contents > ul").addClass("bs-docs-sidenav"); | ||
$("#toctitle").remove(); | $("#toctitle").remove(); | ||
$(".tocnumber").remove(); | $(".tocnumber").remove(); |
Latest revision as of 10:38, 29 November 2014