Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 66: | Line 66: | ||
var loop = setInterval(function() { | var loop = setInterval(function() { | ||
var clone = $(".pic2 li:first").clone(true); | var clone = $(".pic2 li:first").clone(true); | ||
- | if(picbox | + | if(picbox = 810){ |
$(".pic2 li:gt(2)").css({opacity:"0"}); | $(".pic2 li:gt(2)").css({opacity:"0"}); | ||
}else { | }else { | ||
Line 76: | Line 76: | ||
duration : 800, | duration : 800, | ||
complete : function() { | complete : function() { | ||
- | if(picbox | + | if(picbox = 810){ |
- | $(".pic2 li:nth-child(4)").animate({opacity:"1"}, | + | $(".pic2 li:nth-child(4)").animate({opacity:"1"},1200); |
} | } | ||
else { | else { | ||
- | $(".pic2 li:nth-child(2)").animate({opacity:"1"}, | + | $(".pic2 li:nth-child(2)").animate({opacity:"1"},1200); |
} | } | ||
$(".pic2 li:first").remove(); | $(".pic2 li:first").remove(); |
Revision as of 19:03, 26 September 2014