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 64: | Line 65: | ||
return false; //Prevent browser jump to link anchor | return false; //Prevent browser jump to link anchor | ||
}); | }); | ||
+ | } | ||
}); | }); | ||
</script> | </script> |
Revision as of 20:43, 19 May 2014