Team:Freiburg/Templates/header

From 2011.igem.org

(Difference between revisions)
Line 36: Line 36:
function hideSubmenu( elem ){
function hideSubmenu( elem ){
-
  alert("hide"+id);
+
alert("hide"+id);
  var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors'];
  var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors'];
  for( var i=0; i<submenus.length; i++){
  for( var i=0; i<submenus.length; i++){
Line 46: Line 46:
         if (document.getElementById(submenus[i]) != null){
         if (document.getElementById(submenus[i]) != null){
           document.getElementById(submenus[i]).style.display = "none";
           document.getElementById(submenus[i]).style.display = "none";
-
//      document.getElementById(id).getElementsByTagName('span').style.display='none';
 
         }
         }
     }else{
     }else{
         document.getElementById(submenus[i]).style.display = "block";
         document.getElementById(submenus[i]).style.display = "block";
-
         document.getElementById(id).getElementsByTagName('span').style.display='block';
+
         document.getElementById(submenus[i]).getElementsByTagName('span').style.display='block';
     }
     }
   }
   }

Revision as of 08:31, 4 July 2011


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