views:

564

answers:

3

The slideshow can be stoped by:

$(this).cycle('stop');

Or it can be paused by:

$(this).cycle('pause');

But how can I stop/pause the slideshow and return to the first slide at the same time?

+1  A: 

just define it eg:

$(this).cycle('stop').cycle({
    startingSlide: 1
});
Abu Aqil
+2  A: 

Goto Starting Slide

$('#goto1').click(function() { 
    $('#s1').cycle(0); 
    return false; 
});

From http://malsup.com/jquery/cycle/goto.html

Chacha102
Thank you Chacha102. My final solution is to combine your answer and Abu Aqil's answer. Unfortunately stackoverflow only allow me to pick one accepted answer =[. Thanks anyway!
Alan
A: 

How can I just to the another slide with a call from inside a slide? This seems to be conflicting.