Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function hideSubmenu( elem , thisElem){ | function hideSubmenu( elem , thisElem){ | ||
- | //alert( | + | var url = document.location; |
+ | url = var.split('https://2011.igem.org/Team:Freiburg/')[1]; | ||
+ | alert(url); | ||
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:36, 3 July 2011