Team:Uppsala/Templates/TselectTier3
From 2014.igem.org
(Difference between revisions)
Line 85: | Line 85: | ||
{ | { | ||
document.getElementById("currentH").innerHTML = "Pupulation Level"; | document.getElementById("currentH").innerHTML = "Pupulation Level"; | ||
- | createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/ | + | createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/a/a8/Uppsala2014_Description_red.png", "PopDescPic"); |
- | createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/ | + | createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/2/2e/Uppsala2014_Design_black.png", "DesignPic"); |
- | createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/ | + | createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/2/25/Uppsala2014_Tests_black.png", "TestPic"); |
changeContent("tab1"); | changeContent("tab1"); | ||
changeContent("tab2"); | changeContent("tab2"); | ||
Line 239: | Line 239: | ||
document.getElementById('DescPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Description_black.png"; | document.getElementById('DescPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Description_black.png"; | ||
document.getElementById('DemoPic').src = "https://static.igem.org/mediawiki/2014/7/79/Uppsala2014_Demo_red.png"; | document.getElementById('DemoPic').src = "https://static.igem.org/mediawiki/2014/7/79/Uppsala2014_Demo_red.png"; | ||
+ | } | ||
+ | else if (target.is('#PopDescPic')){ | ||
+ | document.getElementById('PopDescPic').src = "https://static.igem.org/mediawiki/2014/a/a8/Uppsala2014_Description_red.png"; | ||
+ | document.getElementById('DesignPic').src = "https://static.igem.org/mediawiki/2014/2/2e/Uppsala2014_Design_black.png"; | ||
+ | document.getElementById('TestPic').src = "https://static.igem.org/mediawiki/2014/2/25/Uppsala2014_Tests_black.png"; | ||
+ | } | ||
+ | else if (target.is('#DesignPic')){ | ||
+ | document.getElementById('PopDescPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Description_black.png"; | ||
+ | document.getElementById('DesignPic').src = "https://static.igem.org/mediawiki/2014/e/ec/Uppsala2014_Design_red.png"; | ||
+ | document.getElementById('TestPic').src = "https://static.igem.org/mediawiki/2014/2/25/Uppsala2014_Tests_black.png"; | ||
+ | } | ||
+ | else if (target.is('#TestPic')){ | ||
+ | document.getElementById('PopDescPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Description_black.png"; | ||
+ | document.getElementById('DesignPic').src = "https://static.igem.org/mediawiki/2014/2/2e/Uppsala2014_Design_black.png"; | ||
+ | document.getElementById('TestPic').src = "https://static.igem.org/mediawiki/2014/9/92/Uppsala2014_Tests_red.png"; | ||
} | } | ||
else if (target.is('#studyPic')){ | else if (target.is('#studyPic')){ |
Revision as of 21:15, 16 October 2014