Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
$(".hp_img").eq(hpnum).stop().animate({"width":"60px","height":"60px","margin-left":"-2px","margin-top":"-10px"},100,'linear').css({"border-radius":"60px","-webkit-border-radius":"60px","-moz-border-radius":"60px"}); | $(".hp_img").eq(hpnum).stop().animate({"width":"60px","height":"60px","margin-left":"-2px","margin-top":"-10px"},100,'linear').css({"border-radius":"60px","-webkit-border-radius":"60px","-moz-border-radius":"60px"}); | ||
}); | }); | ||
+ | |||
+ | setTimeout(function(){ | ||
+ | if($(".pic1 li:nth-child(2)").is(':visible')){ | ||
+ | if($(".pic1 li:nth-child(3)").is(':visible')){ | ||
+ | $(".pic1 li:nth-child(4)").animate({opacity:"1"},1200); | ||
+ | } | ||
+ | else { | ||
+ | $(".pic1 li:nth-child(3)").animate({opacity:"1"},1200); | ||
+ | }} | ||
+ | },6000); | ||
var loop = setInterval(function() { | var loop = setInterval(function() { |
Revision as of 16:50, 26 September 2014