Code52Testing/github-for-outlook-testing — Issue #3: Re: Pausing carousel after a full cycle of all images
Author: Code52Testing
Created: 2012-02-25 07:05:00+00:00
State: open

Sender: fat
Received: 25/02/2012 4:44:32 PM

Hey Henry - you just need to specify .carousel('pause') or .carousel('cycle'). Hope that helps!

On Feb 6, 10:14 pm, Henry Finkelstein wrote:
> I like the carousel except that it keeps cycling and never stops. I
> know there has been talk of adding a pause on hover default, which
> would be really nice, but I would also like to pause the slideshow
> after a complete iteration (or two) of images.
>
> I have no experience with javascript, so please let me know if there
> is a resource somewhere I could find this information. My guess is
> that I could have the pause execute after a hard-coded number of
> cycles (that I calculate knowing how many images I have). Ideally,
> the logic would know when it's hit the first slide again and stop
> after a set number of complete iterations.
>
> Any thoughts on how to code this elegantly (or where I can find info
> that'll help me figure it out)?
>
> Thanks again for all the help and hard work!