Template:Imperial/09/Menu/Reduced

From 2009.igem.org

(Difference between revisions)
Line 224: Line 224:
     var address = document.location.href;
     var address = document.location.href;
     var addressSplit = address.split("/");
     var addressSplit = address.split("/");
-
if ((addressSplit[3]=='Team:Imperial_College_London') || (typeof(addressSplit[30]) == 'undefined')){
+
if (addressSplit[3]=='Team:Imperial_College_London'){
-
    alert('cat');
+
    if(typeof(addressSplit[30]) == 'undefined')){
 +
          alert('cat');
 +
    }
 +
    alert('Team page');
}
}
</script>
</script>

Revision as of 21:45, 13 September 2009