Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 80: Line 80:
changeContent("tab3");
changeContent("tab3");
}
}
-
else if (data.search("Human")!== -1)
+
else if (data.search("Overview")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Human Practice";
+
document.getElementById("currentH").innerHTML = "Overview";
-
createA("Overview", "#");
+
createA("Overview1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
-
createA("Outreach", "#");
+
createA("Overview2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
-
createA("Continuity", "#");
+
createA("Overview3", "#", "tab3", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
changeContent("tab3");
changeContent("tab3");
 +
}
 +
else if (data.search("Outreach")!== -1)
 +
{
 +
document.getElementById("currentH").innerHTML = "Overview";
 +
createA("Outreach1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
 +
createA("Outreach2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
 +
createA("Outreach3", "#", "tab3", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
 +
changeContent("tab1");
 +
changeContent("tab2");
 +
changeContent("tab3");
 +
}
 +
else if (data.search("Continuity")!== -1)
 +
{
 +
document.getElementById("currentH").innerHTML = "Continuity";
 +
createA("Continuity1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
 +
createA("Continuity2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
 +
changeContent("tab1");
 +
changeContent("tab2");
}
}
else if (data.search("Protocols")!== -1)  <!--- from notebook --->
else if (data.search("Protocols")!== -1)  <!--- from notebook --->

Revision as of 14:02, 4 August 2014