Template:SUSTC-Shenzhen/main-content-begin
From 2014.igem.org
(Difference between revisions)
(8 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(); | ||
+ | $(".tocnumber").remove(); | ||
</script> | </script> | ||
<div class="col-md-9" id="document-body"> | <div class="col-md-9" id="document-body"> | ||
</html> | </html> |
Latest revision as of 10:38, 29 November 2014