Documentation
Nivo Gallery Functions
Below is a list of the functions you can use on the gallery and an example of how to call the functions.
<script type="text/javascript">
$(document).ready(function() {
$('#gallery').nivoGallery();
$('#gallery').data('nivoGallery').play();
$('#gallery').data('nivoGallery').pause();
$('#gallery').data('nivoGallery').nextSlide();
$('#gallery').data('nivoGallery').prevSlide();
$('#gallery').data('nivoGallery').goTo(2);
});
</script>
List of Functions
- .play()
Starts the slideshow if paused. - .pause()
Stops the slideshow. - .nextSlide()
Displays the next slide in the slideshow. - .prevSlide()
Displays the previous slide in the slideshow. - .goTo(index)
Shows a slide, specified by the zero-based index.