Team:Freiburg/Templates/header

From 2011.igem.org

(Difference between revisions)
Line 33: Line 33:
function hideSubmenu( elem ){
function hideSubmenu( 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'];
-
  var smList = "sub-members#sub-attributions#sub-freiburg";
+
  var smList = ["sub-members#sub-attributions#sub-freiburg", "sub-overview#sub-motivation#sub-description#sub-results#sub-modelling#sub-notebook#sub-safety", "", "", ""];
-
  if (smList.search(elem) >= 0){
+
for (vae i = 0; i < smList.length; i++){
 +
  if (smList[i].search(elem) >= 0){
   alert("da");
   alert("da");
 +
  alert(submenus[i]);
  }
  }
 +
}
  for( var i=0; i<submenus.length; i++){
  for( var i=0; i<submenus.length; i++){
   if (elem == 'none'){
   if (elem == 'none'){

Revision as of 15:37, 14 July 2011


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