Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 43: | Line 43: | ||
var clone = $(".pic1 li:first").clone(true); | var clone = $(".pic1 li:first").clone(true); | ||
if(picbox = picw){ | if(picbox = picw){ | ||
- | $(".pic1 li: | + | $(".pic1 li:nth-child(4)").css({opacity:"0"}); |
}else { | }else { | ||
- | $(".pic1 li: | + | $(".pic1 li:nth-child(3)").css({opacity:"0"}); |
} | } | ||
$(".pic1 li:first").animate({ | $(".pic1 li:first").animate({ | ||
Line 68: | Line 68: | ||
var clone = $(".pic2 li:first").clone(true); | var clone = $(".pic2 li:first").clone(true); | ||
if(picbox = picw){ | if(picbox = picw){ | ||
- | $(".pic2 li: | + | $(".pic2 li:nth-child(4)").css({opacity:"0"}); |
}else { | }else { | ||
- | $(".pic2 li: | + | $(".pic2 li:nth-child(3)").css({opacity:"0"}); |
} | } | ||
$(".pic2 li:first").animate({ | $(".pic2 li:first").animate({ |
Revision as of 19:11, 26 September 2014