Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
var splitted = new Array(); | var splitted = new Array(); | ||
splitted = url.split("2011.igem.org/Team:Freiburg/"); | splitted = url.split("2011.igem.org/Team:Freiburg/"); | ||
- | alert(splitted[ | + | url = splitted[1]; |
+ | splitt = url.split("/"); | ||
+ | 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 15:06, 3 July 2011