Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 57: Line 57:
}
}
                
                
-
else if (data.search("Gene")!== -1)
+
else if (data.search("Safety")!== -1)
{
{
-
document.getElementById("currentH").innerHTML = "Gene Design";
+
document.getElementById("currentH").innerHTML = "Safety";
-
}
+
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("Lab")!== -1)
+
                        createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png", "WorkPic");
-
{
+
changeContent("tab1");
-
document.getElementById("currentH").innerHTML = "Lab Safety";
+
changeContent("tab2");
-
}
+
changeContent("tab3");
-
             
+
-
else if (data.search("Product")!== -1)
+
-
{
+
-
document.getElementById("currentH").innerHTML = "Product Safety";
+
}
}

Revision as of 15:29, 15 October 2014