Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 59: Line 59:
                         createA("Simulation1", "#","tab1","https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
                         createA("Simulation1", "#","tab1","https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
createA("Simulation2", "#","tab2","https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
createA("Simulation2", "#","tab2","https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
 +
changeContent("tab1");
 +
changeContent("tab2");
 +
}
 +
                        else if (data.search("Matlab") !== -1)
 +
{
 +
document.getElementById("currentH").innerHTML = "Matlab";
 +
                        createA("Matlab1", "#","tab1","https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
 +
createA("Matlab2", "#","tab2","https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");

Revision as of 09:23, 4 August 2014