Template:SUSTC-Shenzhen/themeCss

From 2014.igem.org

(Difference between revisions)
Line 31: Line 31:
       <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
       <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
     <![endif]-->
     <![endif]-->
-
  <script>
 
-
var toc_tbl = $("#toc")
 
-
    .prop("id","table-contents")
 
-
    .addClass("panel panel-primary")
 
-
    .removeClass("toc")
 
-
    .children()
 
-
      .clone();
 
-
       
 
-
 
-
$("#document-sidebar")
 
-
.children()
 
-
.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-body");
 
-
        $("#toctitle").remove();
 
-
  </script>
 
</head>
</head>
</html>
</html>

Revision as of 12:32, 27 September 2014

Team SUSTC-Shenzhen