Re: [jQuery] Make jCarousel Loop?

2006-11-28 Thread Jan Sorgalla
I've just updated jCarousel to 0.1.2. You can pass now the option wrapPrev which does exactly that. Jan agent2026 wrote: Using the built in wrap, setting viewable images to 1 and using no animation the carousel is visually looping in the next direction back to the beginning. This is good

Re: [jQuery] Make jCarousel Loop?

2006-11-28 Thread agent2026
Sweet, thanks Jan. Works perfectly. Great way to start my day :) Adam -- View this message in context: http://www.nabble.com/Make-jCarousel-Loop--tf2668238.html#a7576706 Sent from the jCarousel mailing list archive at Nabble.com. ___ jQuery

Re: [jQuery] Make jCarousel Loop?

2006-11-27 Thread agent2026
Using the built in wrap, setting viewable images to 1 and using no animation the carousel is visually looping in the next direction back to the beginning. This is good enough for me in that direction, but there must be some way to modify the first image 'prev' link to scroll to the last image.

Re: [jQuery] Make jCarousel Loop?

2006-11-27 Thread Jan Sorgalla
Hi, try that (untested): Replace the line priv.scroll(priv.first - priv.o.itemScroll); with priv.scroll((priv.o.wrap priv.first == 1) ? priv.size - priv.o.itemVisible + 1 : priv.first - priv.o.itemScroll); Jan agent2026 wrote: Using the built in wrap, setting viewable images to 1 and