Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 38: | Line 38: | ||
$("#stop a").css("background-image","url(/wiki/images/0/0c/Kit_Play.png)"); | $("#stop a").css("background-image","url(/wiki/images/0/0c/Kit_Play.png)"); | ||
}else { | }else { | ||
- | loop1 = setInterval(slide1, | + | loop1 = setInterval(slide1,5000); |
- | loop2 = setInterval(slide2, | + | loop2 = setInterval(slide2,5000); |
$("#stop").addClass('stop'); | $("#stop").addClass('stop'); | ||
$("#stop a").css("background-image","url(/wiki/images/9/90/Kit_Pause.png)"); | $("#stop a").css("background-image","url(/wiki/images/9/90/Kit_Pause.png)"); | ||
Line 45: | Line 45: | ||
}); | }); | ||
$("#stop a").hover(function(){ | $("#stop a").hover(function(){ | ||
- | $("#stop a").stop().animate({opacity:"0.7"}, | + | $("#stop a").stop().animate({opacity:"0.7"},500); |
}, | }, | ||
function(){ | function(){ | ||
- | $("#stop a").stop().animate({opacity:"1"}, | + | $("#stop a").stop().animate({opacity:"1"},500); |
} | } | ||
); | ); | ||
Line 55: | Line 55: | ||
var picw = 809; | var picw = 809; | ||
var mpicw = 569; | var mpicw = 569; | ||
- | var loop1 = setInterval(slide1, | + | var loop1 = setInterval(slide1,5000); |
function slide1() { | function slide1() { | ||
var clone = $(".pic1 li:first").clone(true); | var clone = $(".pic1 li:first").clone(true); | ||
Line 85: | Line 85: | ||
- | var loop2 = setInterval(slide2, | + | var loop2 = setInterval(slide2,5000); |
function slide2() { | function slide2() { | ||
var clone = $(".pic2 li:first").clone(true); | var clone = $(".pic2 li:first").clone(true); |
Revision as of 13:57, 30 September 2014