Do I specify after I've initialized the carousel, or within the option
bracket? If I initialize with just 'cycle', it keeps rotating through all
the slides.
Sorry to be so slow, but what would the code look like if I wanted the
carousel to go through twice and then stop?
On Friday, February 24, 2012 9:44:12 PM UTC-8, fat wrote:
>
> Hey Henry - you just need to specify .carousel('pause')
> or .carousel('cycle'). Hope that helps!
>
> On Feb 6, 10:14 pm, Henry Finkelstein <[email protected]> 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!