jQuery Cycle Plugin, Pausing slides when previous next is clicked.
Tried several approaches and cannot seem to get the slideshow to pause, stop or toggle when the user clicks prev or next. Maybe I am misunderstanding the best approach or not seeing how PrevNextEvent might be used correctly. Can any one provide a nudge? Here is the code as it stands in working order currently:
- $(document).ready(function() {
- $('#slideshow').cycle({
- fx: 'fade',
- timeout: 5000,
- next: '#next',
- prev: '#prev',
- pause: 1,
- });
- });
Thanks!