Template:UCSF/subnav/Hello/BBB/AAA

From 2010.igem.org

(Difference between revisions)
Line 99: Line 99:
function getLadder(){
function getLadder(){
var PageURL = document.URL;
var PageURL = document.URL;
-
var reg = /http:\/\/2010\.igem\.org\/Template:UCSF(\/[^/]+){4}/;
+
var reg = /http:\/\/2010\.igem\.org\/Template:UCSF(\/[^/]+)*/;
var result =  reg.exec(PageURL);
var result =  reg.exec(PageURL);
alert(result);
alert(result);

Revision as of 02:00, 10 October 2010