Team:KAIST-Korea/jihan
From 2011.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
<script> | <script> | ||
//Configure the script here | //Configure the script here | ||
- | |||
// Do not edit below | // Do not edit below | ||
Line 41: | Line 40: | ||
// 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: | + | var outputStr="<a href='https://2011.igem.org/Team:KAIST-Korea>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:" + buildDepth(constituentFolders,count | + | outputStr=outputStr + "<a href='https://2011.igem.org/Team:" + buildDepth(constituentFolders,count) + constituentFolders[count] + "'>" + |
capitaliseFirstLetter(constituentFolders[count]).replace(/-/gi," ") + "</a>"; | capitaliseFirstLetter(constituentFolders[count]).replace(/-/gi," ") + "</a>"; | ||
} | } | ||
Line 61: | Line 60: | ||
// Start the script upon page load | // Start the script upon page load | ||
window.onload=function() { | window.onload=function() { | ||
- | buildBreadCrumbTrail( | + | buildBreadCrumbTrail(window.location.pathname); |
} | } | ||
</script> | </script> |
Revision as of 09:24, 7 August 2011