Team:UNITN-Trento/JS/Gallery
From 2013.igem.org
(Difference between revisions)
m |
|||
Line 4: | Line 4: | ||
}; | }; | ||
$('#jms-slideshow').jmslideshow( $.extend( true , { jmpressOpts : jmpressOpts }, { | $('#jms-slideshow').jmslideshow( $.extend( true , { jmpressOpts : jmpressOpts }, { | ||
- | autoplay : | + | autoplay : false, |
- | arrows : | + | arrows : true |
})); | })); | ||
Revision as of 14:09, 23 September 2013
$(document).ready(function() { var jmpressOpts = { hash : { use : true } }; $('#jms-slideshow').jmslideshow( $.extend( true , { jmpressOpts : jmpressOpts }, { autoplay : false, arrows : true }));
$("#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>"); }); });