Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 18: Line 18:
var List = document.getElementById("tabs");
var List = document.getElementById("tabs");
-
if (data.search("Project") !== -1)
+
if (data.search("Adhesion") !== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Project";
+
document.getElementById("currentH").innerHTML = "Adhesion";
-
createA("Adhesion", "#", "tab1");
+
createA("Adhesion1", "#", "tab1");
-
createA("Killling", "#", "tab2");
+
createA("Adhesion2", "#", "tab2");
-
createA("Sensing", "#", "tab3");
+
createA("Adhesion3", "#", "tab3");
-
createA("Targeting", "#", "tab4");
+
createA("Adhesion4", "#", "tab4");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
Line 30: Line 30:
changeContent("tab4");
changeContent("tab4");
}
}
-
else if (data.search("Modeling")!== -1)
+
else if (data.search("Killing")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Modeling";
+
document.getElementById("currentH").innerHTML = "Killing";
-
createA("Simulation", "#");
+
createA("Killing1", "#");
-
createA("Matlab", "#");
+
createA("Killing2", "#");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");

Revision as of 15:57, 16 July 2014