Team:Yale/Templates/Yale Header Project

From 2010.igem.org

(Difference between revisions)
 
(9 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 {
 +
float: right;
 +
padding-left: 10px;
 +
        width: 350px;
 +
}
 +
 +
div#left {
 +
float: left;
 +
padding-right: 10px;
 +
        width: 350px;
 +
}
#caption {
#caption {
Line 114: 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 128: Line 164:
font-size: 12px;
font-size: 12px;
text-align: justify;
text-align: justify;
-
                 padding-top: 15px;
+
                 padding-top: 10px;
}
}
Line 238: 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