jQuery Supersized Plugin callback when slideshow finishd

Posted by Nic Hubbard on Stack Overflow See other posts from Stack Overflow or by Nic Hubbard
Published on 2009-10-25T21:48:33Z Indexed on 2011/01/04 20:54 UTC
Read the original article Hit count: 201

Filed under:
|
|

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 slide starts, not when it is finished.

Does anyone have ideas on how I could accomplish this?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about callback