Team:KAIST-Korea/jihanmenu

From 2011.igem.org

(Difference between revisions)
Line 30: Line 30:
// Start with a link to the team home page
// Start with a link to the team home page
-
var outputStr="<a href='https://2011.igem.org/Team:'"+"teamname"+">Home</a>";
+
var outputStr="<a href='https://2011.igem.org/Team:'"+teamname+"Home</a>";
// Loop through the URL
// Loop through the URL
for (count=0;count<(constituentFolders.length);count++)
for (count=0;count<(constituentFolders.length);count++)
{
{
-
outputStr=outputStr + " > <a href='https://2011.igem.org/Team:" + teamname +  
+
outputStr=outputStr + "<a href='https://2011.igem.org/Team:" + teamname +  
buildDepth(constituentFolders,count) + constituentFolders[count] + "'>" +  
buildDepth(constituentFolders,count) + constituentFolders[count] + "'>" +  
capitaliseFirstLetter(constituentFolders[count]).replace(/-/gi," ") + "</a>";
capitaliseFirstLetter(constituentFolders[count]).replace(/-/gi," ") + "</a>";

Revision as of 09:11, 7 August 2011