📓
Transition Slider jQuery
  • Welcome
  • Getting started
    • Slider Project Setup
  • Slider Options
    • General
    • Size
    • Autoplay
    • Video
    • Navigation
    • Wheel Navigation
    • Pagination
    • Thumbnails
    • Hash Navigation
    • Loading
    • Lightbox
  • Slide Options
    • Slide parameters
    • Transitions
  • Layer Options
    • Layer parameters
    • Element parameters
  • Special notes
    • Running things locally
Powered by GitBook
On this page

Was this helpful?

  1. Slider Options

Autoplay

<script>
    jQuery(document).ready(function($) {
        $("#slider-wrapper").transitionSlider({
            // example of autoplay options
            autoplay: {
                delay: 2500,
                disableOnInteraction: false,
                progress: false,
                pauseOnHover: false,
                reverseDirection: false
            }
        });
    });
</script>

Parameter

Type

Default

Description

autoplay

object/boolean

false

Object with autoplay parameters or boolean true to enable with default settings.

{

delay

number

3000

Delay between transitions (in ms).

disableOnInteraction

boolean

true

Set to false and autoplay will not be disabled after user interactions (swipes), it will be restarted every time after interaction.

progress

boolean

false

Enables the ability to display the visual timer of the current slide.

pauseOnHover

boolean

false

Enables that autoplay can be stopped by moving the mouse over the slide.

reverseDirection

boolean

false

Enables autoplay in reverse direction.

}

PreviousSizeNextVideo

Last updated 3 years ago

Was this helpful?