Template:UCSF/subnav
From 2010.igem.org
(Difference between revisions)
Line 113: | Line 113: | ||
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];} | ||
+ | alert(loc); | ||
nav.innerHTML="<a href=\""+loc+"\">"+result[i].substr(1)+"<\/a>"; | nav.innerHTML="<a href=\""+loc+"\">"+result[i].substr(1)+"<\/a>"; | ||
subnav.appendChild(nav); | subnav.appendChild(nav); | ||
Line 125: | Line 126: | ||
<nav> | <nav> | ||
<ul id="sub-navigation"> | <ul id="sub-navigation"> | ||
- | + | <li class="first parent parent-1"><a href="./Current Issue Nature_files/Current Issue Nature.htm">Current Issue</a></li> | |
+ | <li class="parent parent-2"><a href="http://www.nature.com/nature/journal/v467/n7316/index.html">Volume 467</a></li> | ||
+ | <li class="current"><span>Issue 7316</span></li> | ||
</ul> | </ul> | ||
</nav> | </nav> |
Revision as of 14:25, 9 October 2010