Template:Cornell Style

From 2012.igem.org

(Difference between revisions)
(Created page with "<html> <head> <title>Team:Cornell - Style Template</title> <style type="text/css"> - ============the following section is hacking the original wiki template============: #cont...")
 
(12 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>
 +
 
<style type="text/css">
<style type="text/css">
 +
 +
/*============the following section is for making collapsible text============*/
 +
.layer1 {
 +
margin: 0;
 +
padding: 0;
 +
width: 700px;
 +
}
 +
 +
.heading {
 +
margin: 1px;
 +
color: #fff;
 +
padding: 3px 10px;
 +
cursor: pointer;
 +
position: relative;
 +
background-color:black;
 +
text-align:center;
 +
}
 +
.content {
 +
padding: 5px 10px;
 +
background-color:#fafafa;
 +
}
 +
p { padding: 5px 0; }
 +
 +
 +
 +
 +
 +
 +
/*============the following section is hacking the original wiki template============*/
/*============the following section is hacking the original wiki template============*/
Line 209: 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>
 +
 +
 +
 +
 +
 +
 +
</head>
</head>
<body>
<body>

Latest revision as of 21:57, 18 August 2012

Team:Cornell - Experimental Style Template