Team:UNITN-Trento/JS/Gallery

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
$("#jms-slideshow .step").each(function() {
$("#jms-slideshow .step").each(function() {
-
img = $(this).css('background-image');
+
img = $(this).css('background-image').split("\"")[1];
alert(img);
alert(img);
});
});
});
});

Revision as of 13:58, 23 September 2013

$(document).ready(function() { $('#jms-slideshow').jmslideshow();

$("#jms-slideshow .step").each(function() { img = $(this).css('background-image').split("\"")[1]; alert(img); }); });