Team:Freiburg/Templates/header

From 2011.igem.org

(Difference between revisions)
Line 20: Line 20:
function hideSubmenu( elem ){
function hideSubmenu( elem ){
-
alert('elem: '+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 28: Line 27:
   else{
   else{
     if( submenus[i] != elem ){
     if( submenus[i] != elem ){
 +
 +
alert('diferit de: '+submenus[i]);
         document.getElementById(submenus[i]).style.display = "none";
         document.getElementById(submenus[i]).style.display = "none";
  //      document.getElementById(id).getElementsByTagName('span').style.display='none';
  //      document.getElementById(id).getElementsByTagName('span').style.display='none';
     }
     }
     else{
     else{
 +
 +
alert('am gasit: '+submenus[i]);
         document.getElementById(submenus[i]).style.display = "block";
         document.getElementById(submenus[i]).style.display = "block";
  //      document.getElementById(id).getElementsByTagName('span').style.display='block';
  //      document.getElementById(id).getElementsByTagName('span').style.display='block';

Revision as of 18:10, 3 July 2011


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