Team:Freiburg/Templates/header

From 2011.igem.org

(Difference between revisions)
Line 9: Line 9:
  var splitted = new Array();
  var splitted = new Array();
  if (url.search("2011.igem.org/Team:Freiburg/")<0){
  if (url.search("2011.igem.org/Team:Freiburg/")<0){
-
  //alert(null);
 
   url="home";
   url="home";
  }
  }
Line 34: Line 33:
  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++){
-
  alert("intru: "+submenus[i]);
 
   if (elem == 'none'){
   if (elem == 'none'){
       document.getElementById(submenus[i]).style.display = "none";
       document.getElementById(submenus[i]).style.display = "none";
Line 40: Line 38:
   else{
   else{
     if( submenus[i] != elem ){
     if( submenus[i] != elem ){
-
        alert("fac none " + submenus[i]+"  "+elem);
 
         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";

Revision as of 11:05, 4 July 2011


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