/ Published in: jQuery
There's got to be a better way?
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript"> $(function() { $('#slides').cycle({ timeout: 6000, speed: 2500, delay: -2000, autostop: 1, end: function() { $('#replay').click(function () { $('#slides').cycle({ timeout: 6000, speed: 2500, delay: -2000, autostop: 1 });//end #slides });//end #replay }//end end }); }); </script>