Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
$('#slideshow').cycle({ 
    fx:         'scrollLeft', 
    timeout:     3000, 
    pager:      '#nav', 
    pagerEvent: 'mouseover', 
    fastOnEvent: true 
});
 
$('#slideshow-container').cycle({
    speed:  '1200',
    after: onAfter,
    timeout: 1200
  });
});
function onAfter(curr, next, opts) {
     var slide;
     slide = opts.currSlide + 1;
     var caption1 = (slide) + ' of ' + opts.slideCount;
     $('#count').html(caption1);
}
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers