Template:Cornell Style

From 2012.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<head>
<head>
-
<title>Team:Cornell - Style Template</title>
+
<title>Team:Cornell - Experimental Style Template</title>
-
 
+
-
<script type="text/javascript">
+
-
jQuery(document).ready(function() {
+
-
  jQuery(".content").hide();
+
-
  //toggle the componenet with class msg_body
+
-
  jQuery(".heading").click(function()
+
-
  {
+
-
    jQuery(this).next(".content").slideToggle(500);
+
-
  });
+
-
});
+
-
</script>
+
-
 
+
-
 
+
<style type="text/css">
<style type="text/css">
-
/* When <div class="nonumtoc"> is used on the table of contents,
+
/*============the following section is for making collapsible text============*/
-
  the ToC will display without numbers */
+
-
.nonumtoc .tocnumber { display: none; }
+
-
.nonumtoc #toc ul,
+
-
.nonumtoc .toc ul {
+
-
    line-height: 1.5em;
+
-
    list-style: none;
+
-
    margin: .3em 0 0;
+
-
    padding: 0;
+
-
}
+
-
.nonumtoc #toc ul ul,
+
-
.nonumtoc .toc ul ul {
+
-
    margin: 0 0 0 2em;
+
-
}
+
-
 
+
.layer1 {
.layer1 {
margin: 0;
margin: 0;
Line 44: Line 17:
color: #fff;
color: #fff;
padding: 3px 10px;
padding: 3px 10px;
-
align: center;
 
-
text-align:center;
 
cursor: pointer;
cursor: pointer;
position: relative;
position: relative;
-
background-color:#000000;
+
background-color:black;
 +
text-align:center;
}
}
.content {
.content {
Line 55: Line 27:
}
}
p { padding: 5px 0; }
p { padding: 5px 0; }
 +
 +
 +
 +
Line 263: Line 239:
/*=============End top nav bar code=================*/
/*=============End top nav bar code=================*/
</style>
</style>
 +
 +
 +
<script type="text/javascript">
 +
jQuery(document).ready(function() {
 +
  jQuery(".content").hide();
 +
  //toggle the componenet with class msg_body
 +
  jQuery(".heading").click(function()
 +
  {
 +
    jQuery(this).next(".content").slideToggle(500);
 +
  });
 +
});
 +
</script>
 +
 +
 +
 +
 +

Latest revision as of 21:57, 18 August 2012

Team:Cornell - Experimental Style Template