jQuery Supersized Plugin callback when slideshow finishd
I am using the Supersized jQuery plugin which makes images fullscreen and also implements a slideshow. Currently, this plugin does not have a callback for when the slideshow is finished, rather, it just continually repeats.
Is there a way that I could trigger a function after the last slide is shown?
Currently, I have it working to trigger a function when the last slide STARTS to be shown, as I have a setInterval which checks for the "last" class on the slideshow images. But, this runs the function when that last s开发者_运维问答lide starts, not when it is finished.
Does anyone have ideas on how I could accomplish this?
I ended up just adding a .addClass('last'); to my last image then when that was cued up, I fired my function.
精彩评论