Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 42: Line 42:
document.getElementById("currentH").innerHTML = "Sensing";
document.getElementById("currentH").innerHTML = "Sensing";
createA("Sensing1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
createA("Sensing1", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
-
createA("Sencing2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
+
createA("Sensing2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
}
}
 +
else if (data.search("Targeting")!== -1)
 +
{
 +
document.getElementById("currentH").innerHTML = "Targeting";
 +
createA("Targeting2", "#", "tab1", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
 +
createA("Targeting2", "#", "tab2", "https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png");
 +
changeContent("tab1");
 +
changeContent("tab2");
 +
}
 +
 +
 +
"https://static.igem.org/mediawiki/2014/0/05/Uppsala_igem2014_Targeting.png");
 +
else if (data.search("Parts")!== -1)
else if (data.search("Parts")!== -1)

Revision as of 13:49, 21 July 2014