Team:Freiburg/Templates/header

From 2011.igem.org

(Difference between revisions)
Line 18: Line 18:
  //else { // we are on a main menu item
  //else { // we are on a main menu item
   var id = 'sub-'+ url;
   var id = 'sub-'+ url;
 +
  alert(id);
   hideSubmenu(id);
   hideSubmenu(id);
-
//   highlightMenuItem(document.getElementById(url));
+
// highlightMenuItem(id);
-
  alert('gata');
+
  //}
  //}
}
}
function highlightMenuItem(id){
function highlightMenuItem(id){
-
   alert ('highlight');
+
   alert('highlight');
-
   id.style.fontWeight = "bold";
+
   array = document.getElementById(id).getElementsByTagName('a');
 +
  for (var i = 0; i < array.length; i++){
 +
  }
}
}
Line 49: Line 51:
window.onload = function() {  
window.onload = function() {  
-
alert('onwl');
+
alert('in windoeonload');
  windowLoadMenu();
  windowLoadMenu();
  document.getElementById( "contentSub" ).style.display="none";
  document.getElementById( "contentSub" ).style.display="none";
Line 74: Line 76:
     padding:0px;
     padding:0px;
     border: none;
     border: none;
-
 
     }
     }
#content {
#content {
Line 315: Line 316:
  <div id=navigation style="width: 150px; float:left">
  <div id=navigation style="width: 150px; float:left">
<ul>
<ul>
-
<li><a id="home" href="https://2011.igem.org/Team:Freiburg/test" display="block" onclick="hideSubmenu('none')"><span class="blue" display="none"> < </span>home<span class="blue" display="none"> > </span></a>
+
<li><a href="https://2011.igem.org/Team:Freiburg/test" display="block" onclick="hideSubmenu('none')"><span class="blue" display="none"> < </span>home<span class="blue" display="none"> > </span></a>
                         </li>
                         </li>
-
<li><a id="team" href="#" display="block" onclick="hideSubmenu('sub-team')"><span class="blue" display="none"> < </span>team<span class="blue" display="none"> > </span></a>
+
<li><a href="#" display="block" onclick="hideSubmenu('sub-team')"><span class="blue" display="none"> < </span>team<span class="blue" display="none"> > </span></a>
<ul class="sub2" id="sub-team" display="none">
<ul class="sub2" id="sub-team" display="none">
-
                             <li class="sub2"><a id="members" href="#"> <span class="blue"> &rarr; </span>members</a></li>
+
                             <li class="sub2"><a href="#"> <span class="blue"> &rarr; </span>members</a></li>
                             <li class="sub2"><a href="#"> <span class="blue"> &rarr; </span>attributions</a></li>
                             <li class="sub2"><a href="#"> <span class="blue"> &rarr; </span>attributions</a></li>
                             <li class="sub2"><a href="#"> <span class="blue"> &rarr; </span>freiburg</a></li>
                             <li class="sub2"><a href="#"> <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" onclick="hideSubmenu('sub-project')"><span class="blue" display="none"> < </span>project<span class="blue" display="none"> > </span></a>
+
<li><a href="https://2011.igem.org/Team:Freiburg/Project" display="block" onclick="hideSubmenu('sub-project')"><span class="blue" display="none"> < </span>project<span class="blue" display="none"> > </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 class="sub2"><a href="#"><span class="blue"> &rarr; </span>overview</a></li>

Revision as of 17:46, 3 July 2011


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