Team:UNITN-Trento/JS/Gallery

From 2013.igem.org

Revision as of 14:08, 23 September 2013 by Ggirelli (Talk | contribs)

$(document).ready(function() { var jmpressOpts = { hash : { use : true } }; $('#jms-slideshow').jmslideshow( $.extend( true , { jmpressOpts : jmpressOpts }, { autoplay : true; arrows : false; }));

$("#jms-slideshow .step").each(function() { img = $(this).css('background-image').split("\"")[1]; $(".container .sheet").append("<a href='javascript:alert(1);' class='thumb'><img src='"+img+"' /></a>"); }); });