Cycle Plugin: Auto transition to start, pause when pager clicked
Hi,
With the cycle plugin, is there anyway to have the transitions start automatically, and then when you click the pager, have the auto transitions stop, and only transition with the pager.
I was able to pause and resume by clicking on the slide, but not on the pager.
You can see my failed attempt at the URL below, and a snippet of the code below.
<!-- initialize the slideshow when the DOM is ready --> <script type="text/javascript"> $.fn.cycle.defaults.timeout = 6000; $(function() { // run the code in the markup! $('table pre code').not('#skip,#skip2').each(function() { eval($(this).text()); }); $('#portfolio').after('<div id="nav">').cycle({ fx: 'scrollLeft', speed: 'slow', timeout: 3000, pager: '#nav' }); // I thought I could just add this in to have the pagers when clicked pause the portfolio cycle //$('#nav').click(function()Â { //$('#portfolio').cycle('pause'); // }); });