Team:TU Delft

From 2010.igem.org

(Difference between revisions)
Line 165: Line 165:
$.get(url, function(data) {
$.get(url, function(data) {
-
 
-
if(page.substring(0, 5) == "User:") {
 
-
data + "<div style='clear:both;'><a href='http://2010.igem.org/Team:TU_Delft/Team/members'>Go Back to the Members Page</a></div>";
 
-
}
 
-
 
$("#iGEM_TU_Delft_container").html(data).queue(processPage);
$("#iGEM_TU_Delft_container").html(data).queue(processPage);
buildBreadCrumbTrail(page);  
buildBreadCrumbTrail(page);  
Line 281: Line 276:
for (count=0;count<(constituentFolders.length);count++)
for (count=0;count<(constituentFolders.length);count++)
{
{
 +
if(constituentFolders[count].substring(0, 5) == "User:") {
 +
alert('test');
 +
}
 +
if(constituentFolders[count].substring(0, 5) !== "User:") {
outputStr=outputStr + " <span class='doubleright'>&raquo;</span> <a href='http://2010.igem.org/Team:TU_Delft#page=" + buildDepth(constituentFolders,count) + constituentFolders[count] + "'>" + capitaliseFirstLetter(constituentFolders[count]).replace(/-/gi," ") + "</a>";
outputStr=outputStr + " <span class='doubleright'>&raquo;</span> <a href='http://2010.igem.org/Team:TU_Delft#page=" + buildDepth(constituentFolders,count) + constituentFolders[count] + "'>" + capitaliseFirstLetter(constituentFolders[count]).replace(/-/gi," ") + "</a>";
 +
}
}
}
}
}

Revision as of 15:40, 26 October 2010