Template:Team:Hannover/main.tmpl

From 2014.igem.org

(Difference between revisions)
Line 43: Line 43:
function menu_init() {
function menu_init() {
 +
      global menu_currentPage;
       var loc = document.location.href;
       var loc = document.location.href;
       window.alert('Init: '+loc);
       window.alert('Init: '+loc);
Line 54: Line 55:
             menu_currentPage= 'TEAM';
             menu_currentPage= 'TEAM';
       }  
       }  
-
       var menu_image_src = pageMap[currentPage];
+
       var menu_image_src = pageMap[menu_currentPage];
       $('#menu_image').attr('src', menu_image_src);
       $('#menu_image').attr('src', menu_image_src);
}
}
function menu_onMouseOut() {
function menu_onMouseOut() {
-
       var menu_image_src = pageMap[currentPage];
+
       var menu_image_src = pageMap[menu_currentPage];
       $('#menu_image').attr('src', menu_image_src);
       $('#menu_image').attr('src', menu_image_src);
}
}

Revision as of 20:17, 31 August 2014

Wiki Home Page - iGem Team Hannover 2014 Project - iGem Team Hannover 2014 Human Practice - iGem Team Hannover 2014 iGem Team Hannover 2014 iGem 2014 - Main Page