Team:Uppsala/Templates/TselectTier3
From 2014.igem.org
(Difference between revisions)
Line 113: | Line 113: | ||
document.getElementById("currentH").innerHTML = "Microbial Designs"; | document.getElementById("currentH").innerHTML = "Microbial Designs"; | ||
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/0/04/Uppsala2014_Background_red.png", "BackPic"); | createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/0/04/Uppsala2014_Background_red.png", "BackPic"); | ||
- | createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/c/cb/Uppsala2014_Property_Rights_red.png", " | + | createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/c/cb/Uppsala2014_Property_Rights_red.png", "PRPic"); |
createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png", "CTPic"); | createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png", "CTPic"); | ||
createA("", "#", "tab4", "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png", "MarkPic"); | createA("", "#", "tab4", "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png", "MarkPic"); | ||
Line 254: | Line 254: | ||
document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png"; | document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png"; | ||
} | } | ||
+ | else if (target.is('#BackPic')){ | ||
+ | document.getElementById('BackPic').src = "https://static.igem.org/mediawiki/2014/0/04/Uppsala2014_Background_red.png"; | ||
+ | document.getElementById('PRPic2').src = "https://static.igem.org/mediawiki/2014/c/cb/Uppsala2014_Property_Rights_red.png"; | ||
+ | document.getElementById('CTPicPic').src = "https://static.igem.org/mediawiki/2014/6/61/Uppsala2014_Clinical_Trials_black.png"; | ||
+ | document.getElementById('MarkPic').src = "https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Marketing_black.png"; | ||
+ | document.getElementById('BudPic').src = "https://static.igem.org/mediawiki/2014/2/2c/Uppsala2014_Budget_black.png"; | ||
+ | document.getElementById('FinPic').src = "https://static.igem.org/mediawiki/2014/c/cf/Uppsala2014_Financing_black.png"; | ||
+ | document.getElementById('RefPic').src = "https://static.igem.org/mediawiki/2014/b/b9/Uppsala2014_Reflections_black.png"; | ||
+ | |||
+ | } | ||
+ | else if (target.is('#PRPic')){ | ||
+ | document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png"; | ||
+ | document.getElementById('discPic2').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png"; | ||
+ | document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png"; | ||
+ | } | ||
+ | else if (target.is('#CTPic')){ | ||
+ | document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png"; | ||
+ | document.getElementById('discPic2').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png"; | ||
+ | document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png"; | ||
+ | } | ||
+ | else if (target.is('#MarkPic')){ | ||
+ | document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png"; | ||
+ | document.getElementById('discPic2').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png"; | ||
+ | document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png"; | ||
+ | } | ||
+ | else if (target.is('#BudPic')){ | ||
+ | document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png"; | ||
+ | document.getElementById('discPic2').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png"; | ||
+ | document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png"; | ||
+ | } | ||
+ | else if (target.is('#FinPic')){ | ||
+ | document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png"; | ||
+ | document.getElementById('discPic2').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png"; | ||
+ | document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png"; | ||
+ | } | ||
+ | else if (target.is('#RefPic')){ | ||
+ | document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png"; | ||
+ | document.getElementById('discPic2').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png"; | ||
+ | document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png"; | ||
+ | } | ||
+ | |||
}); | }); | ||
}); | }); |
Revision as of 13:47, 15 October 2014