Documentation
Nivo Gallery Events
Below is a list of the events that get triggered by the gallery and their corresponding callbacks:
$('#gallery').nivoGallery({
galleryLoaded: function(){},
beforeChange: function(index, slide, paused){},
afterChange: function(index, slide, paused){},
galleryEnd: function(){}
});
List of Events
- galleryLoaded()
Called after the gallery has loaded and the first slide is diplayed. - beforeChange(index, slide, paused)
Called before a slide transition occurs.indexis the zero-based index of the current slide,slideis the slide object andpausedis a boolean stating if the gallery is paused or not. - afterChange(index, slide, paused)
Called after a slide transition occurs.indexis the zero-based index of the current slide,slideis the slide object andpausedis a boolean stating if the gallery is paused or not. - galleryEnd()
Called after the gallery has shown the final slide.