Team:Uppsala/Templates/TselectTier3
From 2014.igem.org
(Difference between revisions)
Line 54: | Line 54: | ||
changeContent("tab2"); | changeContent("tab2"); | ||
} | } | ||
- | else if (data.search(" | + | else if (data.search("Micro") !== -1) |
{ | { | ||
- | document.getElementById("currentH").innerHTML = " | + | document.getElementById("currentH").innerHTML = "Micro Scale"; |
- | createA(" | + | createA("Micro Scale1", "#","tab1","https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png"); |
- | createA(" | + | createA("Micro Scale2", "#","tab2","https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png"); |
changeContent("tab1"); | changeContent("tab1"); | ||
changeContent("tab2"); | changeContent("tab2"); | ||
} | } | ||
- | else if (data.search(" | + | else if (data.search("Macro") !== -1) |
{ | { | ||
- | document.getElementById("currentH").innerHTML = " | + | document.getElementById("currentH").innerHTML = "Macro Scale"; |
- | createA(" | + | createA("Macro Scale1", "#","tab1","https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png"); |
- | createA(" | + | createA("Macro Scale2", "#","tab2","https://static.igem.org/mediawiki/2014/1/17/Uppsala_igem2014_Sensing.png"); |
changeContent("tab1"); | changeContent("tab1"); | ||
changeContent("tab2"); | changeContent("tab2"); |
Revision as of 12:17, 5 August 2014