Template:SUSTC-Shenzhen/main-content-begin

From 2014.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 13: Line 13:
    .removeClass("toc")
    .removeClass("toc")
    .children()
    .children()
 +
            .children()
 +
            .children()
 +
            .children()
      .clone();
      .clone();
          
          
Line 18: Line 21:
$("#document-sidebar")
$("#document-sidebar")
.children()
.children()
-
.remove();
+
.remove()
 +
.end()
 +
.html('<div class="bs-docs-sidebar hidden-print hidden-xs hidden-sm" id="page-contents"></div>');
-
toc_tbl.appendTo("#document-sidebar");
+
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