Team:UT-Tokyo/Template/Header

From 2012.igem.org

(Difference between revisions)
m
Line 2: Line 2:
</p>
</p>
</html>
</html>
-
{{:Team:UT-Tokyo/Template/Style1}}
+
{{:Team:UT-Tokyo/Template/Style0}}
<!-- __NOTOC__ -->
<!-- __NOTOC__ -->
<!-- in bodycontent -->
<!-- in bodycontent -->
<html>
<html>
</p>
</p>
-
<div class="nav">
+
</div>
-
<ul>
+
</div>
-
<li id="nav_0"><a href="https://2012.igem.org/Team:UT-Tokyo">Home</a></li>
+
-
<li id="nav_1"><a href="https://2012.igem.org/Team:UT-Tokyo/Team">Team</a></li>
+
-
<li id="nav_2"><a href="https://2012.igem.org/Team:UT-Tokyo/Project">Project</a><ul>
+
-
<li>H2</li>
+
-
<!-- li><a href="https://2012.igem.org/Team:UT-Tokyo/Modeling">Modeling</a></li -->
+
-
<li>Repress Transcription Factor</li>
+
-
</ul></li>
+
-
<li id="nav_3"><a href="https://2012.igem.org/Team:UT-Tokyo/Parts">Parts</a></li>
+
-
<li id="nav_4">Human Practice</li>
+
-
<li id="nav_5"><a href="https://2012.igem.org/Team:UT-Tokyo/Notebook">Notebook</a><ul>
+
-
<li>sandbox</li>
+
-
<li><a href="https://2012.igem.org/Team:UT-Tokyo/Internal/Sandbox">sandbox</a></li>
+
-
<li>testes</li>
+
-
</ul></li>
+
-
<li><a href="https://2012.igem.org/Team:UT-Tokyo/Safety">Safety</a></li>
+
-
<li><a href="https://2012.igem.org/Team:UT-Tokyo/Attributions">Attributions</a></li>
+
-
</ul>
+
-
 
+
</div>
</div>
-
<script type="text/javascript">
+
<div id="main">
-
function showhide(){
+
<div id="header">
-
if(document.getElementById){
+
<div class="title">
-
var nm = loc();
+
<p>iGEM UT-Tokyo</p>
-
var nnow = document.getElementById('nav' + nm)
+
</div>
-
nnow.style.background = "#aecdeb";
+
<div class="topsearch">
-
var unow = nnow.lastChild
+
<input type="text" class="frm" /><input type="button" class="btn" value="Search" />
-
// unow.style.display = "block";
+
</div>
-
  }
+
<div class="menu">
-
}
+
<ul id="menu1">
 +
<li id="m_home">Home</li>
 +
<li id="m_team">Team</li>
 +
<li id="m_proj">Project<ul>
 +
<li>Background</li>
 +
<li>System</li>
 +
<li>Results</li>
 +
<li>Discussion</li>
 +
</ul></li>
 +
<li id="m_spro">Subproject<ul>
 +
<li>Background</li>
 +
<li>System</li>
 +
<li>Results</li>
 +
<li>Discussion</li>
 +
</ul></li>
 +
<li id="m_part">Parts</li>
 +
<li id="m_note">Notebook<ul>
 +
<li>Background</li>
 +
<li>System</li>
 +
<li>Results</li>
 +
<li>Discussion</li>
 +
</ul></li>
 +
<li id="m_safe">Safety</li>
 +
<li id="m_hupr">Human Practice</li>
 +
</ul>
 +
<p class="dummy">  </p>
 +
</div>
 +
</div>
-
function loc(){
+
<div id="top">
-
var data3 = location.href;
+
<div class="pageabst">
 +
<h1>{{{subpagename}}}</h1>
 +
<p>
-
  if(data3.match('Team:UT-Tokyo/?$')){ return "_0";}
 
-
  else if(data3.match('Team:UT-Tokyo/(Team|Acknowledgment)')){ return "_1";}
 
-
  else if(data3.match('Team:UT-Tokyo/(Project|Modeling)')){ return "_2";}
 
-
  else if(data3.match('Team:UT-Tokyo/(Data|Parts|LabNote)')){ return "_3";}
 
-
  else if(data3.match('Team:UT-Tokyo/(Human|Outreach)')){ return "_4";}
 
-
  else if(data3.match('Team:UT-Tokyo/(Sandbox|Safety|Notebook)')){ return "_5";}
 
-
else{
 
-
return "_0";}
 
-
}
 
-
 
-
showhide();
 
-
</script>
 
-
 
-
<div id="pageContent">
 
-
 
-
 
-
<h1 id="pagetitle">
 
-
</html>
 
-
{{{subpagename}}}
 
-
<html>
 
-
</h1>
 
</html>
</html>

Revision as of 16:27, 3 September 2012

{{{subpagename}}}