Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
(Undo revision 244209 by Tjocko (talk))
Line 161: Line 161:
}
}
-
else if (data.search("Acknowledge")!== -1)
+
else if (data.search("Attributions")!== -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");
-
else if (data.search("Collaborations")!== -1)
+
                        createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png", "WorkPic");
-
{
+
changeContent("tab1");
-
document.getElementById("currentH").innerHTML = "Collaborations";
+
changeContent("tab2");
-
}
+
changeContent("tab3");
-
 
+
-
else if (data.search("Sponsors")!== -1)
+
-
{
+
-
document.getElementById("currentH").innerHTML = "Sponsors";
+
}
}

Revision as of 12:55, 15 October 2014