Template:Zjuheader
From 2011.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
<head> | <head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
- | |||
<link rel='stylesheet' type='text/css' href='global.css' /> | <link rel='stylesheet' type='text/css' href='global.css' /> | ||
</head> | </head> | ||
<body> | <body> | ||
- | <div id="contentwrapper"> | + | <div id="contentwrapper id="hc"> |
<div class="header"> | <div class="header"> | ||
<div class="bgimg"></div> | <div class="bgimg"></div> | ||
Line 79: | Line 78: | ||
</ul> | </ul> | ||
</div><!--navbar--> | </div><!--navbar--> | ||
- | </div> | + | <script type="text/javascript"> |
+ | document.getElementById('P_Team').onclick=function(){ | ||
+ | document.getElementById('P_Te').style.display='block' | ||
+ | |||
+ | document.getElementById('P_Pr').style.display='none' | ||
+ | document.getElementById('P_No').style.display='none' | ||
+ | document.getElementById('P_Hu').style.display='none' | ||
+ | <!-- document.getElementById('P_Pr').style.display='none' --> | ||
+ | }; | ||
+ | document.getElementById('P_Project').onclick=function(){ | ||
+ | document.getElementById('P_Pr').style.display='block' | ||
+ | document.getElementById('P_Te').style.display='none' | ||
+ | document.getElementById('P_No').style.display='none' | ||
+ | document.getElementById('P_Hu').style.display='none' | ||
+ | <!-- document.getElementById('P_Pr').style.display='none' --> | ||
+ | }; | ||
+ | document.getElementById('P_Notebook').onclick=function(){ | ||
+ | document.getElementById('P_No').style.display='block' | ||
+ | document.getElementById('P_Pr').style.display='none' | ||
+ | document.getElementById('P_Te').style.display='none' | ||
+ | document.getElementById('P_Hu').style.display='none' | ||
+ | <!-- document.getElementById('P_Pr').style.display='none' --> | ||
+ | }; | ||
+ | document.getElementById('P_HumanPractice').onclick=function(){ | ||
+ | document.getElementById('P_Hu').style.display='block' | ||
+ | document.getElementById('P_Pr').style.display='none' | ||
+ | document.getElementById('P_No').style.display='none' | ||
+ | document.getElementById('P_Te').style.display='none' | ||
+ | <!-- document.getElementById('P_Pr').style.display='none' --> | ||
+ | }; | ||
+ | |||
+ | </script> | ||
+ | </div><!--header--> | ||
</div><!--global wrapper--> | </div><!--global wrapper--> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 07:16, 5 October 2011
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">