Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 24: | Line 24: | ||
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(3)").is(':visible')){ | ||
$(".pic1 li:gt(3)").css({opacity:"0"}); | $(".pic1 li:gt(3)").css({opacity:"0"}); | ||
+ | }else { | ||
+ | $(".pic1 li:gt(2)").css({opacity:"0"}); | ||
+ | } | ||
$(".pic1 li:first").animate({ | $(".pic1 li:first").animate({ | ||
marginRight : "-310px",opacity:"0" | marginRight : "-310px",opacity:"0" |
Revision as of 16:54, 26 September 2014