Class: SimpleSlides {#SimpleSlides}

Simple slide show that pulls creates labels for each slide dynamically and injecting them into a navigation element. It can loop through each slide, or go directly to one from any other.

Implements:

Options, Events, Loop

SimpleSlides Method: constructor {#SimpleSlides:constructor}

Syntax:

var mySimpleSlides = new SimpleSlides(container, navigation, options);

Arguments:

  1. container - (mixed) A string of the id for an Element or an Element reference that contains the slides.
  2. navigation - (mixed) A string of the id for an Element or an Element reference in which to inject the slide labels.
  3. options - (object) See below:

Options:

Events:

showStart

Signature
onShowStart(lastIndex, nextIndex)
Arguments:
  1. lastIndex - (number) The index of the slide that is transitioning out.
  2. nextIndex - (number) The index of the slide that is transition in.

showComplete

Signature
onShowComplete(index)
Arguments:
  1. index - (number) The index of the slide that is now visible.

labelEvent

Signature
onLabelEvent(index)
Arguments:
  1. index - (number) The index of the label.