Line 381: | Line 381: | ||
$('#XMLID_1_').css('fill', color4); | $('#XMLID_1_').css('fill', color4); | ||
}); | }); | ||
+ | //Adaptive banner | ||
+ | $(document).ready(function () { | ||
+ | switch (document.title) { | ||
+ | case ("Team:NAU-CHINA/Team members - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Collaborations - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Attributions - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case "Team:NAU-CHINA/Overview - 2018.igem.org" | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Design - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/InterLab - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case "Team:NAU-CHINA/Protocols - 2018.igem.org" | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Application_prospects - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Demonstrate - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case "Team:NAU-CHINA/Parts - 2018.igem.org" | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Model - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Model_Details - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Auxiliary_Understanding - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Software - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Human_Practices - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Public_Engagement - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Safety - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | case ("Team:NAU-CHINA/Notebook - 2018.igem.org") | ||
+ | $('#banner img').attr('src', 'https://static.igem.org/mediawiki/2018/2/2e/T--NAU-China--bannerprojectoverview.jpg') | ||
+ | |||
+ | } | ||
+ | }); | ||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 16:23, 16 October 2018