Cycle: How to delay click functionality...
On my slideshow, if the slide is clicked it will pause. But I want to delay the ability to click-to-pause until after the first slide transition. Right now the "#slideshow" div is clickable as soon as the DOM is ready; too soon for me.
An abridged version of what I have now:
- $(document).ready(function(){
- $('#slideshow img').toggle(function() {
- $('#slideshow').cycle('pause');
- }, function() {
- $('#slideshow').cycle('resume');
- });
- $('#slideshow').cycle({
- /*options*/
- });
-
- }); // end ready