Template:SUSTC-Shenzhen/main-content-begin

From 2014.igem.org

(Difference between revisions)
Line 23: Line 23:
.remove()
.remove()
.end()
.end()
-
.html(
+
.html('<div class="bs-docs-sidebar hidden-print hidden-xs hidden-sm" id="page-contents"></div>');
-
'<div class="bs-docs-sidebar hidden-print hidden-xs hidden-sm">' +
+
-
  '<div class="panel-heading">' +
+
-
    '<h3 class="panel-title">Contents</h3>' +
+
-
  '</div>' +
+
-
  '<div class="panel-body" id="toc-body">' +
+
-
    '' +
+
-
  '</div>' +
+
-
'</div>');
+
-
toc_tbl.appendTo("#toc-body");
+
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();

Revision as of 02:01, 17 October 2014