Team:Freiburg/Templates/header

From 2011.igem.org

(Difference between revisions)
Line 32: Line 32:
function hideSubmenu( elem ){
function hideSubmenu( elem ){
-
alert("hide"+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'];
  for( var i=0; i<submenus.length; i++){
  for( var i=0; i<submenus.length; i++){
Line 51: Line 50:
           if(document.getElementById(splitted[1]) != null){
           if(document.getElementById(splitted[1]) != null){
             array =  document.getElementById(splitted[1]).getElementsByTagName('span');
             array =  document.getElementById(splitted[1]).getElementsByTagName('span');
-
             for (var i = 0; i < array.length; i++){
+
             for (var j = 0; j < array.length; j++){
-
               array[i].style.display="inline";
+
               array[j].style.display="inline";
             }
             }
           }
           }

Revision as of 11:04, 4 July 2011


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