Configuration

The plugin accepts the following options:

Options can be set either on initialization or at runtime.

target

The target for the autoscrolling. This is basically the same as the first argument the scroll method acceppts.

See Available formats for the target argument for more information about the target argument.

Example

$('.jcarousel').jcarouselAutoscroll({
    target: '+=3'
});

Default

+=1

interval

The autoscrolling interval in milliseconds.

Example

$('.jcarousel').jcarouselAutoscroll({
    interval: 1000
});

Default

3000

autostart

Whether to autostart autoscrolling.

Example

$('.jcarousel').jcarouselAutoscroll({
    autostart: false
});

Default

true

method

The method to call on the carousel.

Example

$('.jcarousel').jcarouselAutoscroll({
    method: 'scrollIntoView'
});

Default

scroll