Team:AUC TURKEY
From 2013hs.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
var active=["https://static.igem.org/mediawiki/2013hs/1/1a/AUC_Turkey_Project_Active.png","https://static.igem.org/mediawiki/2013hs/a/a1/AUC_Turkey_iGEMism_Active.png","https://static.igem.org/mediawiki/2013hs/9/95/AUC_Turkey_Flash_Game_Active.png","https://static.igem.org/mediawiki/2013hs/c/c6/AUC_Turkey_Embassies_Active.png","https://static.igem.org/mediawiki/2013hs/f/fc/AUC_Turkey_Surveys_Active.png","https://static.igem.org/mediawiki/2013hs/b/b9/AUC_Turkey_iGEMismTV_Active.png"]; | var active=["https://static.igem.org/mediawiki/2013hs/1/1a/AUC_Turkey_Project_Active.png","https://static.igem.org/mediawiki/2013hs/a/a1/AUC_Turkey_iGEMism_Active.png","https://static.igem.org/mediawiki/2013hs/9/95/AUC_Turkey_Flash_Game_Active.png","https://static.igem.org/mediawiki/2013hs/c/c6/AUC_Turkey_Embassies_Active.png","https://static.igem.org/mediawiki/2013hs/f/fc/AUC_Turkey_Surveys_Active.png","https://static.igem.org/mediawiki/2013hs/b/b9/AUC_Turkey_iGEMismTV_Active.png"]; | ||
function onAfter(curr, next, opts) { | function onAfter(curr, next, opts) { | ||
- | $("#links a img").attr("src",normal[ | + | for(var i=0;i<6;i++) |
+ | { | ||
+ | $("#links a:eq("+i+") img").attr("src",normal[i]); | ||
+ | } | ||
$("#links a:eq("+opts.currSlide+") img").attr("src",active[opts.currSlide]); | $("#links a:eq("+opts.currSlide+") img").attr("src",active[opts.currSlide]); | ||
} | } |
Revision as of 18:49, 16 June 2013