Template:Team:Aachen/Scripts

From 2014.igem.org

(Difference between revisions)
Line 8: Line 8:
$(".paging a:first").addClass("active");
$(".paging a:first").addClass("active");
 +
$(".main_view").each(function() {
//Get size of the image, how many images there are, then determin the size of the image reel.
//Get size of the image, how many images there are, then determin the size of the image reel.
var imageWidth = $(".window").width();
var imageWidth = $(".window").width();
Line 63: Line 64:
rotateSwitch(); // Resume rotation timer
rotateSwitch(); // Resume rotation timer
return false; //Prevent browser jump to link anchor
return false; //Prevent browser jump to link anchor
 +
});
});
});
});
});

Revision as of 20:27, 19 May 2014