Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 34: | Line 34: | ||
}); | }); | ||
var picbox = $("#picbox").width(); | var picbox = $("#picbox").width(); | ||
- | |||
if(picbox = 810){ | if(picbox = 810){ | ||
$(".pic1 li:gt(3),.pic2 li:gt(3)").css({opacity:"0"}); | $(".pic1 li:gt(3),.pic2 li:gt(3)").css({opacity:"0"}); | ||
Line 40: | Line 39: | ||
$(".pic1 li:gt(2),.pic2 li:gt(2)").css({opacity:"0"}); | $(".pic1 li:gt(2),.pic2 li:gt(2)").css({opacity:"0"}); | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
var loop = setInterval(function() { | var loop = setInterval(function() { | ||
var clone = $(".pic1 li:first").clone(true); | var clone = $(".pic1 li:first").clone(true); | ||
if(picbox = 810){ | if(picbox = 810){ | ||
- | $(".pic1 li:gt( | + | $(".pic1 li:gt(2)").css({opacity:"0"}); |
}else { | }else { | ||
- | $(".pic1 li:gt( | + | $(".pic1 li:gt(1)").css({opacity:"0"}); |
} | } | ||
$(".pic1 li:first").animate({ | $(".pic1 li:first").animate({ |
Revision as of 18:49, 26 September 2014