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:second").is(':hidden')){
+
     if($(".pic1 li:nth-child(2)").is(':hidden')){
-
     $(".pic1 li:second").fadeIn()
+
     $(".pic1 li:nth-child(2)").fadeIn()
     }else {
     }else {
-
     $(".pic1 li:third").fadeIn()
+
     $(".pic1 li:nth-child(3)").fadeIn()
     }
     }
     $(".pic1 li:first").animate({
     $(".pic1 li:first").animate({

Revision as of 16:13, 26 September 2014