Template:Cornell Style

From 2012.igem.org

(Difference between revisions)
 
(4 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">
 +
/*============the following section is for making collapsible text============*/
.layer1 {
.layer1 {
margin: 0;
margin: 0;
Line 29: Line 17:
color: #fff;
color: #fff;
padding: 3px 10px;
padding: 3px 10px;
-
align: center;
 
cursor: pointer;
cursor: pointer;
position: relative;
position: relative;
-
background-color:#000000;
+
background-color:black;
 +
text-align:center;
}
}
.content {
.content {
Line 39: Line 27:
}
}
p { padding: 5px 0; }
p { padding: 5px 0; }
 +
 +
 +
 +
Line 247: 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