Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 33: | Line 33: | ||
$(window).resize(checkpbw); | $(window).resize(checkpbw); | ||
}); | }); | ||
- | |||
var picbox = $("#picbox").width(); | var picbox = $("#picbox").width(); | ||
- | |||
setTimeout(function(){ | setTimeout(function(){ | ||
if(picbox = 810){ | if(picbox = 810){ | ||
Line 43: | Line 41: | ||
$(".pic1 li:nth-child(3)").animate({opacity:"1"},1200); | $(".pic1 li:nth-child(3)").animate({opacity:"1"},1200); | ||
} | } | ||
- | }, | + | },6000); |
var loop = setInterval(function() { | var loop = setInterval(function() { | ||
Line 62: | Line 60: | ||
} | } | ||
else { | else { | ||
- | $(".pic1 li:nth-child( | + | $(".pic1 li:nth-child(3)").animate({opacity:"1"},1200); |
} | } | ||
$(".pic1 li:first").remove(); | $(".pic1 li:first").remove(); | ||
Line 150: | Line 148: | ||
#picbox{ | #picbox{ | ||
position:relative; | position:relative; | ||
- | |||
- | |||
margin:20px auto; | margin:20px auto; | ||
} | } |
Revision as of 17:38, 26 September 2014