Template:UCSF/subnav/Hello/BBB/AAA
From 2010.igem.org
(Difference between revisions)
Line 101: | Line 101: | ||
var reg = /http:\/\/2010\.igem\.org\/Template:UCSF(\/[^/]+)*/; | var reg = /http:\/\/2010\.igem\.org\/Template:UCSF(\/[^/]+)*/; | ||
var result = reg.exec(PageURL); | var result = reg.exec(PageURL); | ||
- | alert(result | + | alert(result); |
var subnav=document.getElementById('sub-navigation'); | var subnav=document.getElementById('sub-navigation'); | ||
for (var i=1;i<result.length;i++){ | for (var i=1;i<result.length;i++){ |
Revision as of 01:58, 10 October 2010