Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
function hideSubmenu( elem , thisElem){ | function hideSubmenu( elem , thisElem){ | ||
var url = document.location; | var url = document.location; | ||
- | + | var splitted = url.split('https://2011.igem.org/Team:Freiburg/'); | |
- | alert( | + | alert(splitted[0]); |
var submenus= ['sub-team','sub-project']; | var submenus= ['sub-team','sub-project']; | ||
for( var i=0; i<submenus.length; i++){ | for( var i=0; i<submenus.length; i++){ |
Revision as of 14:38, 3 July 2011