Template:SUSTC-Shenzhen/main-content-begin

From 2014.igem.org

(Difference between revisions)
(Undo revision 298274 by ProfFan (talk))
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("#document-sidebar");
+
toc_tbl.appendTo("#toc-body");
         $("#toctitle").remove();
         $("#toctitle").remove();
         $(".tocnumber").remove();
         $(".tocnumber").remove();

Revision as of 01:53, 17 October 2014