Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
clone.css({"opacity":"0"}); | clone.css({"opacity":"0"}); | ||
$(".pic1 li:gt(3)").css({opacity:"0"}); | $(".pic1 li:gt(3)").css({opacity:"0"}); | ||
- | if($(".pic1 li:nth-child(2)").is(':visible') | + | if($(".pic1 li:nth-child(2)").is(':visible')){ |
+ | if($(".pic1 li:nth-child(3).is(':visible')){ | ||
$(".pic1 li:nth-child(4)").animate({opacity:"1"},800); | $(".pic1 li:nth-child(4)").animate({opacity:"1"},800); | ||
- | |||
- | |||
} | } | ||
+ | else { | ||
+ | $(".pic1 li:nth-child(3)").animate({opacity:"1"},800); | ||
+ | }} | ||
$(".pic1 li:first").animate({ | $(".pic1 li:first").animate({ | ||
marginRight : "-310px",opacity:"0" | marginRight : "-310px",opacity:"0" |
Revision as of 16:29, 26 September 2014