Team:Freiburg/Templates/header

From 2011.igem.org

(Difference between revisions)
 
(81 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', 'sub-humanpractices', 'sub-synbio oath'];
 +
  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 22: Line 29:
function highlightMenuItem(id){
function highlightMenuItem(id){
   if(document.getElementById(id) != null){
   if(document.getElementById(id) != null){
-
     document.getElementById(id).style.fontWeight='';
+
     document.getElementById(id).style.fontWeight='bold';
     array =  document.getElementById(id).getElementsByTagName("span");
     array =  document.getElementById(id).getElementsByTagName("span");
     for (var i = 0; i < array.length; i++){
     for (var i = 0; i < array.length; i++){
Line 32: 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++){
   if (elem == 'none'){
   if (elem == 'none'){
Line 85: 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 242: Line 273:
}
}
-
#navigation {font-size:1.05em; width:100px;
+
#navigation {font-size:1.05em; width:120px;
-
margin:15px;
+
margin:10px;
}
}
-
#navigation ul {margin:0; padding:10px;}
+
#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 253: Line 284:
  cursor: pointer;
  cursor: pointer;
  display:block;
  display:block;
-
  height:25px;
+
  height:30px;
-
  line-height: 25px;
+
  line-height: 30px;
-
  text-indent: 10px;                   
+
  text-indent: 15px;                   
  text-decoration:none;
  text-decoration:none;
  width:100%;
  width:100%;
Line 283: 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="#"> <img src="https://static.igem.org/mediawiki/2011/9/95/Contact_grey.png" height="80%"/> Contact </a></div>
+
       <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:right"> <a href="#"><img src="https://static.igem.org/mediawiki/2011/7/74/Facebook-icon-torn.png" title="Connect with us on Facebook!" width="80%"/> </a></div>
+
         <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: 0; right: 0; 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 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="#"> <span class="blue"> &rarr; </span>members</a></li>
+
                             <li id="members" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Members"> <span class="blue"> &rarr; </span>members</a></li>
                             <li id="attributions" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Attributions"> <span class="blue"> &rarr; </span>attributions</a></li>
                             <li id="attributions" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Attributions"> <span class="blue"> &rarr; </span>attributions</a></li>
-
                             <li class="sub2"><a href="#"> <span class="blue"> &rarr; </span>freiburg</a></li>
+
                             <li id="freiburg" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Freiburg"> <span class="blue"> &rarr; </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="#"><span class="blue"> &rarr; </span>overview</a></li>
+
                             <li id='description' class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Description"><span class="blue"> &rarr; </span>description</a></li>
-
                            <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>motivation</a></li>
+
                             <li id='results' class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Results"><span class="blue"> &rarr; </span>results</a></li>
-
                             <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>description</a></li>
+
                             <li id='modelling' class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Modelling"><span class="blue"> &rarr; </span>modeling</a></li>
-
                            <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>results</a></li>
+
-
                             <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>modelling</a></li>
+
                             <li id = "notebook" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Notebook"><span class="blue"> &rarr; </span>notebook</a></li>
                             <li id = "notebook" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Notebook"><span class="blue"> &rarr; </span>notebook</a></li>
-
                             <li class="sub2"><a href="#"><span class="blue"> &rarr; </span>safety</a></li>
+
                             <li id = "sampledata" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/SampleData"><span class="blue"> &rarr; </span>sample data</a></li>
                         </ul> </li>
                         </ul> </li>
-
<li><a id="gallery" href="#" ><span class="blueSelect"> < </span>gallery<span class="blueSelect" display="none"> > </span></a> </li>
+
 
 +
 
 +
                        <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"> &rarr; </span>oath</a></li>
 +
                            <li id='socioeconomicconsiderations' class="sub2"><a href="https://2011.igem.org/Team:Freiburg/SocioeconomicConsiderations"><span class="blue"> &rarr; </span>ethics</a></li>
 +
                          <li id="safety" class="sub2"><a href="https://2011.igem.org/Team:Freiburg/Safety"><span class="blue"> &rarr; </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


This is the wiki page
of the Freiburger student
team competing for iGEM 2011.
Thank you for your interest!