Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 36: | Line 36: | ||
clearInterval(loop2); | clearInterval(loop2); | ||
$("#stop").removeClass('stop'); | $("#stop").removeClass('stop'); | ||
+ | $("#stop a").css("background","url(/wiki/images/0/0c/Kit_Play.png) no-repeat;"); | ||
}else { | }else { | ||
loop1 = setInterval(slide1,6000); | loop1 = setInterval(slide1,6000); | ||
loop2 = setInterval(slide2,6000); | loop2 = setInterval(slide2,6000); | ||
$("#stop").addClass('.stop'); | $("#stop").addClass('.stop'); | ||
+ | $("#stop a").css("background","url(/wiki/images/9/90/Kit_Pause.png) no-repeat;"); | ||
+ | } | ||
+ | }); | ||
+ | $("#stop a").hover(function(){ | ||
+ | $("#stop a").animate({opacity:"0.7"},300); | ||
+ | }, | ||
+ | function(){ | ||
+ | $("#stop a").animate({opacity:""},300); | ||
} | } | ||
}); | }); |
Revision as of 13:30, 30 September 2014