Template:UCSF/subnav/Hello/BBB/AAA

From 2010.igem.org

(Difference between revisions)
(New page: <html> <style> li{ list-style:none; margin:0px; padding:0px; font:11px arial,helvetica,clean,sans-serif; } ul,li{margin:0;padding:0;} #sub-navigation { margin: 0; } #breadcr...)
Line 99: Line 99:
function getLadder(){
function getLadder(){
var PageURL = document.URL;
var PageURL = document.URL;
-
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);
var subnav=document.getElementById('sub-navigation');
var subnav=document.getElementById('sub-navigation');

Revision as of 01:56, 10 October 2010