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();
-
$(window).resize(picbox);
 
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);
     }
     }
-
},8000);
+
},6000);
var loop = setInterval(function() {
var loop = setInterval(function() {
Line 62: Line 60:
     }
     }
     else {
     else {
-
     $(".pic1 li:nth-child(2)").animate({opacity:"1"},1200);
+
     $(".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;
-
max-width:930px;
 
-
min-width:620px;
 
margin:20px auto;
margin:20px auto;
}
}

Revision as of 17:38, 26 September 2014