Team:AUC TURKEY
From 2013hs.igem.org
(Difference between revisions)
Line 21: | Line 21: | ||
for(var i=0;i<6;i++) | for(var i=0;i<6;i++) | ||
{ | { | ||
- | $("#links a:eq("+i+") img").attr("src",normal[i]) | + | $("#links a:eq("+i+")").css("opacity",50); |
+ | $("#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+")").css("opacity",100); |
+ | $("#links a:eq("+opts.currSlide+") img").attr("src",active[opts.currSlide]); | ||
} | } | ||
$(function() { | $(function() { |
Revision as of 09:05, 17 June 2013