andygott / Really-Simple-Slideshow

A jQuery slideshow plugin that loads images as they're required to save bandwidth.
http://reallysimpleworks.com/slideshow/
MIT License
47 stars 15 forks source link

next slide link on image #17

Closed fietstouring closed 12 years ago

fietstouring commented 12 years ago

how can I make the slideshow advance to the next slide when clicking on the image itself?

daka79 commented 12 years ago

I'd like some help here too. Anyone?

andygott commented 12 years ago

You could bind to the click event on slides and use the nextSlide method, like this:

$('#slideshow img').on('click', function(e) {
    e.preventDefault();
    $('#slideshow').rsfSlideshow('nextSlide');
});