Template:UCSF/subnav

From 2010.igem.org

(Difference between revisions)
Line 103: Line 103:
var reg = /http:\/\/2010\.igem\.org\/Team:UCSF(.*)/;
var reg = /http:\/\/2010\.igem\.org\/Team:UCSF(.*)/;
var re =  reg.exec(PageURL);
var re =  reg.exec(PageURL);
-
alert(re.length);
 
var  result;
var  result;
-
if(re.length==1)
+
if(re[1]=="")
{
{
alert(1);
alert(1);

Revision as of 04:08, 10 October 2010