Template:SUSTC-Shenzhen/main-content-begin
From 2014.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
$("#document-sidebar") | $("#document-sidebar") | ||
.children() | .children() | ||
- | .remove(); | + | .remove() |
+ | .end() | ||
+ | .html( | ||
+ | '<div class="panel panel-default">' + | ||
+ | '<div class="panel-heading">' + | ||
+ | '<h3 class="panel-title">Contents</h3>' + | ||
+ | '</div>' + | ||
+ | '<div class="panel-body" id="toc-body">' + | ||
+ | '' + | ||
+ | '</div>' + | ||
+ | '</div>'); | ||
- | toc_tbl.appendTo("# | + | toc_tbl.appendTo("#toc-body"); |
$("#toctitle").remove(); | $("#toctitle").remove(); | ||
$(".tocnumber").remove(); | $(".tocnumber").remove(); |
Revision as of 01:53, 17 October 2014