Response title
This is preview!
$(function() { | |
$('#slideshow').cycle({ | |
fx: 'fadeZoom', | |
timeout: 2000, | |
after: function() { | |
$('#caption').html(this.alt); | |
} | |
}); | |
}); | |
</script> |
Everything works fine, unless the album
has only one single image - then the "after" function
doesn't fire. How can I force the "after" function to fire regardless of the number of images in the page? | |
|
© 2013 jQuery Foundation
Sponsored by and others.