Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 37: | Line 37: | ||
$(window).resize(picbox); | $(window).resize(picbox); | ||
setTimeout(function(){ | setTimeout(function(){ | ||
- | if(picbox | + | if(picbox = 810){ |
$(".pic1 li:nth-child(4)").animate({opacity:"1"},1200); | $(".pic1 li:nth-child(4)").animate({opacity:"1"},1200); | ||
} | } | ||
Line 48: | Line 48: | ||
var clone = $(".pic1 li:first").clone(true); | var clone = $(".pic1 li:first").clone(true); | ||
clone.css({"opacity":"0"}); | clone.css({"opacity":"0"}); | ||
- | if(picbox | + | if(picbox = 810){ |
$(".pic1 li:gt(3)").css({opacity:"0"}); | $(".pic1 li:gt(3)").css({opacity:"0"}); | ||
}else { | }else { | ||
Line 58: | Line 58: | ||
duration : 800, | duration : 800, | ||
complete : function() { | complete : function() { | ||
- | if(picbox | + | if(picbox = 810){ |
$(".pic1 li:nth-child(4)").animate({opacity:"1"},1200); | $(".pic1 li:nth-child(4)").animate({opacity:"1"},1200); | ||
} | } |
Revision as of 17:34, 26 September 2014