Template:UCSF/subnav/Hello/BBB/AAA

From 2010.igem.org

(Difference between revisions)
Line 118: Line 118:
     var loc = "http:\/\/2010.igem.org\/Team:UCSF";
     var loc = "http:\/\/2010.igem.org\/Team:UCSF";
     for(var j=1;j<=i;j++){loc+=result[j];}
     for(var j=1;j<=i;j++){loc+=result[j];}
-
     nav.innerHTML="<a href=\""+loc+"\">"+result[i].substr(1)+"<\/a>";
+
     nav.innerHTML="<a href=\""+loc+"\">"+result[i]+"<\/a>";
     if(nav.className=="current"||nav.className=="first current"){nav.innerHTML="<span>"+result[i].substr(1)+"<\/span>";}
     if(nav.className=="current"||nav.className=="first current"){nav.innerHTML="<span>"+result[i].substr(1)+"<\/span>";}
     subnav.appendChild(nav);
     subnav.appendChild(nav);

Revision as of 02:24, 10 October 2010