Search.../

Slideshow

Slideshows are playable containers for slides. Learn more.

Guides

Additional information about this section

Properties

Store values associated with an object

  • children

    Gets an array of the elements that are contained within the element.

  • collapsed

    Indicates if the element is collapsed or expanded.

  • currentIndex

    Gets the index of the slideshow's current slide.

  • currentSlide

    Gets the slideshow's current slide.

  • global

    Indicates if an element appears on all pages or only on the current page.

  • hidden

    Indicates if the element is visible or hidden.

  • id

    Gets the element's ID.

  • isPlaying

    Indicates if the element is currently playing.

  • isVisible

    Indicates if the element is actually visible.

  • parent

    Gets the element's parent element.

  • rendered

    Indicates if an element is currently in the DOM structure.

  • showNavigationButtons

    Sets or gets whether a slideshow's navigation buttons are shown.

  • showSlideButtons

    Set or returns whether a slideshow's slide buttons are shown.

  • slides

    Gets a list of all the slides contained in the slideshow.

  • type

    Gets the element's type.

Functions

Perform actions on an object

  • changeSlide( )

    Change the slideshow's current slide to a specific slide or index.

  • collapse( )

    Collapses the element and sets its collapsed property to true.

  • expand( )

    Expands the element and sets its collapsed property to false.

  • hide( )

    Hides the element and sets its hidden property to true, using an effect if specified.

  • next( )

    Moves to the next item.

  • onChange( )

    Adds an event handler that runs when the slideshow moves to a new slide.

  • onClick( )

    Adds an event handler that runs when the element is clicked.

  • onDblClick( )

    Adds an event handler that runs when the element is double-clicked.

  • onMouseIn( )

    Adds an event handler that runs when the mouse pointer is moved onto the element. Deprecation note: The $w parameter of event handlers is being deprecated. To ...

  • onMouseOut( )

    Adds an event handler that runs when the mouse pointer is moved off of the element. Deprecation note: The $w parameter of event handlers is being deprecated. ...

  • onPause( )

    Adds an event handler that runs when playback is paused.

  • onPlay( )

    Adds an event handler that runs when playback is started or restarted.

  • onViewportEnter( )

    Adds an event handler that runs when an element is displayed in the viewable part of the current window.

  • onViewportLeave( )

    Adds an event handler that runs when an element is no longer displayed in the viewable part of the current window.

  • pause( )

    Pauses playback.

  • play( )

    Begins or resumes playback.

  • previous( )

    Moves to the previous image or slide.

  • scrollTo( )

    Scrolls the page to the top of the element using an animation.

  • show( )

    Shows the element and sets its hidden property to false, using an effect if specified.