Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $('#gallery').cycle({
- fx: 'fade',
- timeout: 3000,
- speed: 500,
- autostop: 0,
- end: function(options) {
- $('#gallery').cycle('stop');
- }
- });
- });
- $(document).ready(function() {
- $('#gallery').cycle({
- fx: 'fade',
- timeout: 3000,
- speed: 500,
- autostop: 1 // Stop slideshow at end
- });
- $('a#pause_resume_button').click(function() {
- $('#gallery').cycle('toggle');
- });
- });
- $('#scroller').cycle({
- fx: 'fade',
- timeout: 3000,
- speed: 500,
- autostop: 1,
- end: function(options) {
- $('#gallery').cycle('stop');
- alert('finished');
- }
- });
- autostop: 0, // true to end slideshow after X transitions (where X == slide count)
- $('#slideshow').cycle('resume');
Add Comment
Please, Sign In to add comment