Template:Team:KIT-Kyoto/hp

From 2014.igem.org

(Difference between revisions)
Line 35: Line 35:
var picbox = $("#picbox").width();
var picbox = $("#picbox").width();
var picw = 809;
var picw = 809;
-
    if(picbox >= picw){
+
 
-
    $(".pic1 li:gt(3),.pic2 li:gt(3)").css({opacity:"0"});
+
-
    }else {
+
-
    $(".pic1 li:gt(1),.pic2 li:gt(1)").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);

Revision as of 19:15, 26 September 2014