Thursday, 5 September 2013

ColorBox's slideshow turns off after closing

ColorBox's slideshow turns off after closing

I want to use ColorBox for my site. I used this code:
$('a.gal').each(function() {
$(this).colorbox({
rel:'g',
slideshow: true,
scrolling: false,
slideshowAuto: false,
returnFocus: false
});
});
And my problem is - when I first click on an image, slideshow works. But
when I close it and then reopen it, the slideshow button is missing. What
might cause this?
jsFiddle: http://jsfiddle.net/37365/

No comments:

Post a Comment