Slideshow
Slideshows are playable containers for slides. Learn more.
Additional information about this section
Store values associated with an object
- currentIndex
Gets the index of the slideshow's current slide.
- currentSlide
Gets the slideshow's current slide.
- 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.
- rendered
Indicates if an element is currently in the DOM structure.
- global
Indicates if an element appears on all pages or only on the current page.
- id
Gets the element's ID.
- parent
Gets the element's parent element.
- type
Gets the element's type.
- hidden
Indicates if the element is visible or hidden.
- isVisible
Indicates if the element is actually visible.
- collapsed
Indicates if the element is collapsed or expanded.
- isPlaying
Indicates if the element is currently playing.
- children
Gets an array of the elements that are contained within the element.
Perform actions on an object
- changeSlide( )
Change the slideshow's current slide to a specific slide or index.
- onChange( )
Adds an event handler that runs when the slideshow moves to a new slide.
- onMouseIn( )
Adds an event handler that runs when the pointer is moved onto the element. You can also define an event handler using the Properties and Events panel.
- onMouseOut( )
Adds an event handler that runs when the pointer is moved off of the element. You can also define an event handler using the Properties and Events panel.
- scrollTo( )
Scrolls the page to the top of the element using an animation.
- 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.
- hide( )
Hides the element and sets its hidden property to true, using an effect if specified.
- show( )
Shows the element and sets its hidden property to false, using an effect if specified.
- collapse( )
Collapses the element and sets its collapsed property to true.
- expand( )
Expands the element and sets its collapsed property to false.
- next( )
Moves to the next item.
- onPause( )
Adds an event handler that runs when playback is paused.
- onPlay( )
Adds an event handler that runs when playback is started or restarted.
- pause( )
Pauses playback.
- play( )
Begins or resumes playback.
- previous( )
Moves to the previous image or 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.
Related Content