Template:Team:KIT-Kyoto/hp

From 2014.igem.org

(Difference between revisions)
Line 19: Line 19:
     complete : function() {
     complete : function() {
         $(".pic li:first").remove();
         $(".pic li:first").remove();
-
         clone.clone(true).insertAfter($(".pic li:last"));
+
         clone.clone(true).insertAfter($(".pic li:last")).fadeIn();
     }
     }
     });
     });
}, 2000);
}, 2000);
 +
 +
var w = $("#picbox").width();
 +
var m = w / 2;
 +
$("#picbox").css({marginLeft:-m});
 +
});   
});   
</script>
</script>
Line 94: Line 99:
#picbox{
#picbox{
height:225px;
height:225px;
-
margin:20px auto;
+
position:relative;
 +
top:10px;
 +
left:50%;
}
}
.pic {  
.pic {  

Revision as of 06:36, 26 September 2014