Team:Yale/Templates/Yale Header Project

From 2010.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<head>
<head>
 +
<script type="text/javascript">
 +
$('.left-menu ul')[0].innerHTML="<li><a href=\"https://2010.igem.org\" style=\"font-weight:normal; text-transform:none\">2010 iGEM home</a></li>"+$('.left-menu ul')[0].innerHTML;
 +
</script>
 +
<title>iGEM Yale</title>
<title>iGEM Yale</title>
Line 10: Line 14:
body {
body {
         font-family: 'Helvetica Neue', Arial, sans-serif;}
         font-family: 'Helvetica Neue', Arial, sans-serif;}
 +
 +
div#main-content h6 {
 +
font: 18px Helvetica,sans-serif;
 +
font-weight: bold;
 +
font-style: normal;
 +
color: black;
 +
                padding-bottom: 5px;
 +
}
div#right {  
div#right {  
float: right;
float: right;
-
padding: 5px;
+
padding-left: 10px;
         width: 350px;
         width: 350px;
}
}
Line 19: Line 31:
div#left {  
div#left {  
float: left;
float: left;
-
padding: 5px;
+
padding-right: 10px;
         width: 350px;
         width: 350px;
}
}
Line 126: Line 138:
color: white;
color: white;
text-align: center;
text-align: center;
 +
}
 +
 +
div#main-content a#nav {
 +
                color: black;
 +
                float: right;
 +
                padding-top: 10px;
 +
                padding-bottom: 10px;
 +
                font-weight: bold;
 +
}
 +
 +
div#main-content a#nav:hover, div#main-content a#nav:active {
 +
color: #8f6620;
}
}
Line 250: Line 274:
<!------------------- End CSS ------------------->
<!------------------- End CSS ------------------->
-
<!------------------- Some Javascript ---------------->
+
<script type="text/javascript" language="JavaScript"><!--
-
 
+
function HideContent(d) {
-
<script type="text/javascript">
+
document.getElementById(d).style.display = "none";
-
function resettoggle() {
+
-
var e = document.getElementById(id);
+
-
e.style.display = 'none';
+
}
}
-
 
+
function ShowContent(d) {
-
function toggle_visibility(id) {
+
document.getElementById(d).style.display = "block";
-
var e = document.getElementById(id);
+
-
if(e.style.display == 'none')
+
-
e.style.display = 'block';
+
-
else
+
-
e.style.display = 'none';
+
}
}
-
</script>
+
function ReverseDisplay(d) {
-
 
+
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
-
 
+
else { document.getElementById(d).style.display = "none"; }
-
<!------------ End Javascript ----------------->
+
}
 +
//--></script>
</head>
</head>

Latest revision as of 03:28, 28 October 2010

iGEM Yale