Slideshow Options

Mottie edited this page Dec 13, 2012 · 13 revisions

Sections: Slideshow | Times | Deprecated

Slideshow

autoPlay (false)

  • Changed function & default to false in Version 1.7.
  • If true, the slideshow will immediately begin playing after AnythingSlider has completed initialization.
  • If false, the slideshow will not start automatically.
  • Before version 1.7, this option had buildStartStop functionality included; which builds the slideshow start-stop link.

autoPlayLocked (false)

  • If true, the slideshow will continue playing even if the user clicks on a forward/back arrow or selects a panel with the navigation. The start/stop button will still stop the slideshow.
  • If false, the slideshow will stop when the user interacts with slider.
  • If autoPlay is false this option will be set as false.

autoPlayDelayed (false)

  • New in Version 1.7.
  • If true, when the user clicks the start-stop link, the slideshow will wait the defined delay time before starting the slideshow
  • If false, when the user clicks the start-stop link to start a slideshow, the slider will immediately advance to the next slide.

pauseOnHover (true)

  • If true, moving the mouse over the slider will pause the slideshow. Once the mouse is moved away from the slider, the slideshow will resume.
  • If false, mousing over the panel will not pause the slideshow.

stopAtEnd (false)

  • If false, a slideshow will continue to loop through all the slides indefinitely. If the infiniteSlides option is also false, the slideshow will rewind to the first slide.
  • If true, a slideshow will cycle through all of the slides once. Then stop the slideshow on the last panel. This also works, as expected, when the infiniteSlides option is false.
  • When the stopAtEnd option is true and infiniteSlides is false and the slider is on the first or last panel, the back and forward arrow keys (respectively) will have a "disabled" class applied - modifiable in the css. This allows you to hide or fade out the back arrow when on the first panel and the forward arrow when on the last panel.

playRtl (false)

  • If false, a slideshow will play through the slides from left-to-right.
  • If true, a slideshow will play though the slides in a right-to-left direction.

Times

delay (3000)

  • This is the time in milliseconds (3000 = 3 seconds) between slideshow transitions while the slideshow is active (i.e. the slideshow changes every 3 seconds).
  • This value must be a number and greater than the animation time otherwise the slide show will never pause on a slide (the animationTime is included in this delay time).

resumeDelay (15000)

  • This is the time in milliseconds (15000 = 15 seconds) that the slider waits after the user has interacted. After this delay the slideshow resumes but it only works if autoPlayLocked is true.
  • This value should be a number greater than the delay time.

animationTime (600)

  • This is the time im milliseconds (600 = .6 seconds) that it takes for the slider to move from one slide to another.
  • This value must be a number and reasonably fast to make the sliding animation visible.

<a name=delaybeforeanimate">

delayBeforeAnimate (0)

  • This is the time in millisconds that the slider pauses before going to the desired slide
  • Used if you want your "out" FX to show.
  • Don't set it too high (more than 500) because the delay is VERY noticeable.

Deprecated

startStopped (false)

  • This option was removed in version 1.7. autoPlay was modified to replace this option.
  • This option only works if autoPlay is set to true.
  • If false, the slider will initialize with the slideshow stopped.
  • If true, the slider will initialize with the slideshow playing.