Pause is working for me, with a catch.

If my mouse is not over the image, it cycles. Placing my mouse over the image pauses the cycling.

Clicking the link brings up an overlay (?) and a form - at this point the mouse is not "over" the image, but over the overlay/form. So the image cycles as it should.

I don't think you want the pause option here. I think you want to progamatically start/stop the cycling. See the section "Manually Pausing a slideshow" at http://malsup.com/jquery/cycle/int2.html.

HTH.

Shawn

Nic Hubbard wrote:
I am using the cycle plugin, but for some reason I can't get the pause
feature to work.  I am showing a hidden div, and when I do, I need to
pause the slideshow.
Here is what I am using:

        $('#artistCycleParent').cycle({
                fx:      'fade',
                speed:    3000,
                timeout:  5000,
                pause:  1,
                next:   '#artworkNext',
                prev:   '#artworkPrev'
        });

        // Pause the cycle
        $('#pauseButton').click(function() {
                $('#artistCycleParent').cycle('pause');
                $(this).hide();
                $('#resumeButton').show();
                return false;
        });

        // Resume the cycle
        $('#resumeButton').click(function() {
                $('#artistCycleParent').cycle('resume');
                $(this).hide();
                $('#pauseButton').show();
                return false;
        });

The code looks ok to me, but it just does not seem to pause.

Example: http://www.caldwellsnyder.com/artists/montoya-ortiz/view-artworks
Click on "Contact about artwork"

Thanks.

Reply via email to