Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
(68 intermediate revisions not shown) | |||
Line 16: | Line 16: | ||
} | } | ||
var id = 'sub-'+ url; | var id = 'sub-'+ url; | ||
- | var sbmenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors']; | + | var sbmenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors', 'sub-humanpractices', 'sub-synbio oath']; |
- | var smList = [" | + | var smList = ["members#attributions#freiburg", "overview#description#results#modelling#notebook#sampledata", "", "", "", "oath#socioeconomicconsiderations#safety", ""]; |
- | + | for (var i = 0; i < smList.length; i++){ | |
+ | if (smList[i].search(url) >= 0){ | ||
+ | id = sbmenus[i]; | ||
+ | } | ||
+ | } | ||
hideSubmenu(id); | hideSubmenu(id); | ||
highlightMenuItem(url); | highlightMenuItem(url); | ||
Line 35: | Line 39: | ||
function hideSubmenu( elem ){ | function hideSubmenu( elem ){ | ||
- | var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors']; | + | var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors', 'sub-humanpractices']; |
for( var i=0; i<submenus.length; i++){ | for( var i=0; i<submenus.length; i++){ | ||
Line 89: | Line 93: | ||
border: none; | border: none; | ||
} | } | ||
+ | #notebook-page-header{ | ||
+ | width: 100%; | ||
+ | height:25px; | ||
+ | padding-top:7px; | ||
+ | } | ||
+ | #notebook-back{ | ||
+ | width: 15%; | ||
+ | float:left; | ||
+ | } | ||
+ | #notebook-title{ | ||
+ | width: 75%; | ||
+ | float:left; | ||
+ | font-size:large; | ||
+ | text-align:center; | ||
+ | } | ||
+ | #notebook-title a{ | ||
+ | decoration:none; | ||
+ | color:black; | ||
+ | } | ||
+ | #notebook-next{ | ||
+ | width: 10%; | ||
+ | float:right; | ||
+ | } | ||
#content { | #content { | ||
background-color: #edeceb; | background-color: #edeceb; | ||
Line 246: | Line 273: | ||
} | } | ||
- | #navigation {font-size:1.05em; width: | + | #navigation {font-size:1.05em; width:120px; |
- | margin: | + | margin:10px; |
} | } | ||
- | #navigation ul {margin:0; padding: | + | #navigation ul {margin:0; padding:5px;} |
#navigation li {list-style: none; border-bottom:dashed; border-bottom-width:1px; border-color:#A5B3AA;} | #navigation li {list-style: none; border-bottom:dashed; border-bottom-width:1px; border-color:#A5B3AA;} | ||
#navigation li.sub2 {border-top:dashed; border-top-width:1px; border-color:#A5B3AA; border-bottom:none; } | #navigation li.sub2 {border-top:dashed; border-top-width:1px; border-color:#A5B3AA; border-bottom:none; } | ||
Line 257: | Line 284: | ||
cursor: pointer; | cursor: pointer; | ||
display:block; | display:block; | ||
- | height: | + | height:30px; |
- | line-height: | + | line-height: 30px; |
- | text-indent: | + | text-indent: 15px; |
text-decoration:none; | text-decoration:none; | ||
width:100%; | width:100%; | ||
Line 287: | Line 314: | ||
<div id="up_white_container"> | <div id="up_white_container"> | ||
<div id="over_the_header_button"> | <div id="over_the_header_button"> | ||
- | <div class="color"><a href=" | + | <div class="color"><a href="https://2011.igem.org/Team:Freiburg/Contact"> <img src="https://static.igem.org/mediawiki/2011/9/95/Contact_grey.png" height="80%"/> Contact </a></div> |
</div> | </div> | ||
</div> | </div> | ||
<div id=up_line> | <div id=up_line> | ||
<div id=up_line_header> | <div id=up_line_header> | ||
- | <div style="float: | + | <div style="float:left; position: absolute; bottom: 15px; left: -400px"> <a href="https://igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/2011/8/8e/UNIPV_iGEMlogo.png" width="20%" title="Back to iGEM main page"/> </a></div> |
- | <div style="float:right; position: absolute; bottom: | + | <div style="float:right"> <a href="http://www.uni-freiburg.de/start-en.html?set_language=en"><img src="https://static.igem.org/mediawiki/2011/b/ba/Logo_Uni_Freiburg.png" width="30%"/> </a></div> |
+ | <div style="float:right; position: absolute; bottom: 10px; right: 375px"> <a href="http://www.startnext.de/lab-in-a-cell-studentenprojekt-zur-synthetischen-biologie"><img src="https://static.igem.org/mediawiki/2011/1/1a/Freiburg11_SupportUs.png" title="Support us on Startnext"/> </a></div> | ||
+ | <div style="float:right; position: absolute; bottom: 15px; right: 100px; padding-bottom:2px;"> </br>This is the wiki page </br>of the Freiburger student </br>team competing for iGEM 2011. </br>Thank you for your interest! </div> | ||
</div> | </div> | ||
</div> | </div> | ||
- | <div id=my_content> | + | <div id="my_content"> |
- | + | <div id="nav-body" style="width: 985px; float:left"> | |
- | <div id=navigation style="width: 150px; float:left"> | + | <div id="navigation" style="width: 150px; float:left"> |
<img src="https://static.igem.org/mediawiki/2011/7/7b/Logo_Ilinca.png" width=150px/> | <img src="https://static.igem.org/mediawiki/2011/7/7b/Logo_Ilinca.png" width=150px/> | ||
<ul> | <ul> | ||
+ | |||
+ | |||
<li><a id="home" href="https://2011.igem.org/Team:Freiburg" display="block" ><span class="blueSelect"> < </span>home<span class="blueSelect" display="none"> > </span></a> | <li><a id="home" href="https://2011.igem.org/Team:Freiburg" display="block" ><span class="blueSelect"> < </span>home<span class="blueSelect" display="none"> > </span></a> | ||
</li> | </li> | ||
+ | |||
+ | |||
<li><a id="team" href="https://2011.igem.org/Team:Freiburg/Team" display="block"><span class="blueSelect"> < </span>team<span class="blueSelect"> > </span></a> | <li><a id="team" href="https://2011.igem.org/Team:Freiburg/Team" display="block"><span class="blueSelect"> < </span>team<span class="blueSelect"> > </span></a> | ||
<ul class="sub2" id="sub-team" display="none"> | <ul class="sub2" id="sub-team" display="none"> | ||
- | <li class="sub2"><a href=" | + | <li id="members" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Members"> <span class="blue"> → </span>members</a></li> |
- | <li id=" | + | <li id="attributions" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Attributions"> <span class="blue"> → </span>attributions</a></li> |
- | <li class="sub2"><a href=" | + | <li id="freiburg" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Freiburg"> <span class="blue"> → </span>freiburg</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
+ | |||
+ | |||
<li><a id="project" href="https://2011.igem.org/Team:Freiburg/Project" display="block"><span class="blueSelect"> < </span>project<span class="blueSelect"> > </span></a> | <li><a id="project" href="https://2011.igem.org/Team:Freiburg/Project" display="block"><span class="blueSelect"> < </span>project<span class="blueSelect"> > </span></a> | ||
<ul class="sub2" id="sub-project" display="none"> | <ul class="sub2" id="sub-project" display="none"> | ||
- | <li class="sub2"><a href=" | + | <li id='description' class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Description"><span class="blue"> → </span>description</a></li> |
- | + | <li id='results' class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Results"><span class="blue"> → </span>results</a></li> | |
- | <li class="sub2"><a href=" | + | <li id='modelling' class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Modelling"><span class="blue"> → </span>modeling</a></li> |
- | + | <li id = "notebook" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Notebook"><span class="blue"> → </span>notebook</a></li> | |
- | <li class="sub2"><a href=" | + | <li id = "sampledata" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/SampleData"><span class="blue"> → </span>sample data</a></li> |
- | <li id = " | + | |
- | <li class="sub2"><a href=" | + | |
</ul> </li> | </ul> </li> | ||
- | <li><a id="gallery" href=" | + | |
+ | |||
+ | <li><a id="humanpractices" href="https://2011.igem.org/Team:Freiburg/Oath" ><span class="blueSelect"> < </span>human practices<span class="blueSelect" display="none"> > </span></a> | ||
+ | <ul class="sub2" id="sub-humanpractices" display="none"> | ||
+ | <li id='oath' class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Oath"><span class="blue"> → </span>oath</a></li> | ||
+ | <li id='socioeconomicconsiderations' class="sub2"><a href="https://2011.igem.org/Team:Freiburg/SocioeconomicConsiderations"><span class="blue"> → </span>ethics</a></li> | ||
+ | <li id="safety" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Safety"><span class="blue"> → </span>safety</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | <li><a id="gallery" href="https://2011.igem.org/Team:Freiburg/Gallery" ><span class="blueSelect"> < </span>gallery<span class="blueSelect" display="none"> > </span></a> </li> | ||
+ | |||
+ | |||
<li><a id="sponsors" href="https://2011.igem.org/Team:Freiburg/Sponsors" display="block" ><span class="blueSelect"> < </span>sponsors<span class="blueSelect"> > </span></a> </li> | <li><a id="sponsors" href="https://2011.igem.org/Team:Freiburg/Sponsors" display="block" ><span class="blueSelect"> < </span>sponsors<span class="blueSelect"> > </span></a> </li> | ||
+ | |||
+ | <li><a id="synbio oath" href="https://2011.igem.org/forum/Topic_List?n=368&s=1" ><span class="blueSelect"> < </span>to the forums<span class="blueSelect" display="none"> > </span></a> </li> | ||
</ul> | </ul> | ||
</div> | </div> | ||
<div id=noNavigationContent> | <div id=noNavigationContent> | ||
</html> | </html> |
Latest revision as of 01:37, 22 September 2011