Team:BYU Provo/Test
From 2011.igem.org
(Difference between revisions)
Cheddar3210 (Talk | contribs) |
Cheddar3210 (Talk | contribs) |
||
(49 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<head> | <head> | ||
<title>Team BYU Provo</title> | <title>Team BYU Provo</title> | ||
+ | <link href='http://fonts.googleapis.com/css?family=Michroma' rel='stylesheet' type='text/css'> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | #top-section,#top,.firstHeading,# | + | #top-section,#top,.firstHeading,#catlinks2 {display: none;} |
+ | |||
+ | #content { | ||
+ | border: none; | ||
+ | background-color: #aaaaaa; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | background-color: #aaaaaa; | ||
+ | } | ||
+ | |||
+ | td { | ||
+ | vertical-align:top; | ||
+ | } | ||
#headerImg { | #headerImg { | ||
Line 10: | Line 24: | ||
margin-right: auto; | margin-right: auto; | ||
margin-left: auto; | margin-left: auto; | ||
+ | margin-top: 0; | ||
+ | padding-top: 0; | ||
+ | text-align: center; | ||
} | } | ||
#rightCol { | #rightCol { | ||
width: 250px; | width: 250px; | ||
- | |||
height: 1000px; | height: 1000px; | ||
+ | background-color: #9acc99; | ||
+ | font-family: 'Michroma', sans-serif; | ||
} | } | ||
#mainContent { | #mainContent { | ||
width: 544px; | width: 544px; | ||
- | |||
height: 1000px; | height: 1000px; | ||
} | } | ||
- | + | .right-menu ul li a { | |
- | color: # | + | background-color: #aaaaaa; |
- | background-color: # | + | } |
+ | |||
+ | .right-menu ul li { | ||
+ | background-color: #aaaaaa; | ||
+ | } | ||
+ | |||
+ | .right-menu ul li a:hover { | ||
+ | color: #002bb8; | ||
} | } | ||
Line 33: | Line 57: | ||
a:hover {color:#dddddd; text-decoration: underline;} | a:hover {color:#dddddd; text-decoration: underline;} | ||
a:active {color:#cccccc;} | a:active {color:#cccccc;} | ||
- | + | li a:link {color:#002bb8; text-decoration: none;} | |
+ | li a:visited {color:#002bb8; text-decoration: none;} | ||
+ | li a:hover {color:#002bb8; text-decoration: underline;} | ||
+ | li a:active {color:#002bb8;} | ||
</style> | </style> | ||
</head> | </head> | ||
<body> | <body> | ||
- | <center> | + | <div id="topMenu"></div> |
- | <table | + | <center><img id="headerImg" alt="BYU Provo" src="https://static.igem.org/mediawiki/2011/thumb/4/4c/BYU_TemplateNew.jpg/800px-BYU_TemplateNew.jpg" /></center> |
+ | |||
+ | <table style="border-collapse:collapse; margin-right: auto; margin-left: auto;" width="800px" border="0"> | ||
<tr> | <tr> | ||
- | <td | + | <td id="rightCol"> |
- | < | + | <ul> |
- | + | <li>Home</li> | |
- | + | <li>Team</li> | |
- | + | <li>Project</li> | |
+ | <li>Protocols</li> | ||
+ | <li>Parts Submitted</li> | ||
+ | <li>Modeling</li> | ||
+ | <li>Safety</li> | ||
+ | <li>Attributions</li> | ||
+ | <li>Notebooks:</li> | ||
+ | </ul> | ||
</td> | </td> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<td id="mainContent">200</td> | <td id="mainContent">200</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | </ | + | <script type="text/javascript"> |
+ | var topMenu1 = "<div id=\"menubar\" class=\"left-menu noprint\">" + document.getElementById('menubar').innerHTML + "</div>"; | ||
+ | document.getElementById('menubar').id = 'menubar2'; | ||
+ | var topMenu2 = "<div class=\"right-menu noprint\" id=\"menubar\">" + document.getElementById('menubar').innerHTML + "</div>"; | ||
+ | document.getElementById('menubar').id = 'menubar1'; | ||
+ | document.getElementById('topMenu').innerHTML = topMenu1 + topMenu2; | ||
+ | setTimeout("document.getElementById('catlinks').id = 'catlinks2'; document.getElementById('mainContent').id = 'catlinks'; document.getElementById('catlinks').innerHTML = document.getElementById('catlinks2').innerHTML;", 500); | ||
+ | //document.getElementById('catlinks').id = 'catlinks2'; | ||
+ | //document.getElementById('mainContent').id = 'catlinks'; | ||
+ | //document.getElementById('catlinks').innerHTML = document.getElementById('catlinks2').innerHTML; | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 18:55, 27 August 2011
|
200 |