Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 161: Line 161:
}
}
-
else if (data.search("Acknowledge")!== -1)
+
else if (data.search("Notebook")!== -1)  
{
{
-
document.getElementById("currentH").innerHTML = "Acknowledgements";
+
document.getElementById("currentH").innerHTML = "Notebook";
 +
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/5/58/Uppsala2014_Protocol_red.png", "ProtPic");
 +
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/f/fc/Uppsala2014_Experiments_black.png", "ExpPic");
 +
                        createA("", "#", "tab4", "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png", "WorkPic");
 +
changeContent("tab1");
 +
changeContent("tab2");
 +
changeContent("tab4");
}
}
-
else if (data.search("Collaborations")!== -1)
+
else if (data.search("Attributions")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Collaborations";
+
document.getElementById("currentH").innerHTML = "Attributions";
-
}
+
-
 
+
-
else if (data.search("Sponsors")!== -1)
+
-
{
+
-
document.getElementById("currentH").innerHTML = "Sponsors";
+
-
}
+
-
 
+
-
else if (data.search("InterlabStudy")!== -1)
+
-
{
+
-
document.getElementById("currentH").innerHTML = "Interlab Study";
+
                         createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/2/23/Uppsala2014_Thestudy_red.png", "studyPic");
                         createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/2/23/Uppsala2014_Thestudy_red.png", "studyPic");
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png", "discPic2");
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png", "discPic2");

Revision as of 12:43, 15 October 2014