Jcarousel not autoscrolling

View: New views
2 Messages — Rating Filter:   Alert me  

Jcarousel not autoscrolling

by paulg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I have been using Jcarousel, and it works great. However, I recently decided I'd like to autoscroll one of my carousels. I tried adding auto: 3 to the initialization, but that didn't help:

    jQuery("#mycarousel").jcarousel({
        itemWidth : 250,
        itemHeight : 270,
        itemVisible: 1,
        itemScroll: 1,
        auto: 3,
        wrap: true,
        loadItemHandler: loadItemHandler,
        nextButtonStateHandler: nextButtonStateHandler,
        prevButtonStateHandler: prevButtonStateHandler

    });

Any ideas what might be preventing the auto scroll? I'm using jquery1.1.1.

Thanks!
Paul

Re: Jcarousel not autoscrolling

by Jan Sorgalla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
paulg wrote:
Hi, I have been using Jcarousel, and it works great. However, I recently decided I'd like to autoscroll one of my carousels. I tried adding auto: 3 to the initialization, but that didn't help:

    jQuery("#mycarousel").jcarousel({
        itemWidth : 250,
        itemHeight : 270,
        itemVisible: 1,
        itemScroll: 1,
        auto: 3,
        wrap: true,
        loadItemHandler: loadItemHandler,
        nextButtonStateHandler: nextButtonStateHandler,
        prevButtonStateHandler: prevButtonStateHandler

    });

Any ideas what might be preventing the auto scroll? I'm using jquery1.1.1.

Thanks!
Paul
it seems that you're using an older version of jCarousel. The option is then "autoScroll", not "auto".

Jan
LightInTheBox - Buy quality products at wholesale price