Template:Team:KIT-Kyoto/hp

From 2014.igem.org

(Difference between revisions)
Line 14: Line 14:
     var clone = $(".pic1 li:first").clone(true);
     var clone = $(".pic1 li:first").clone(true);
     clone.css({"opacity":"0"});
     clone.css({"opacity":"0"});
-
     if($(".pic1 li:nth-child(2)").is(':animated')){
+
    $(".pic1 li:gt(3)").css({"opacity":"0"});
-
     $(".pic1 li:nth-child(2)").fadeIn()
+
     if($(".pic1 li:nth-child(2)").is(':visible') && $(".pic1 li:nth-child(3).is(':visible'){
 +
     $(".pic1 li:nth-child(4)").animate({opacity:"1"},800);
     }else {
     }else {
-
     $(".pic1 li:nth-child(3)").fadeIn()
+
     $(".pic1 li:nth-child(3)").animate({opacity:"1"},800)
     }
     }
     $(".pic1 li:first").animate({
     $(".pic1 li:first").animate({

Revision as of 16:24, 26 September 2014