SlideshowObject initialization for Picture Library Slideshow web part
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//1.Initializtion of Picture entries for SlideshowObject | |
var pictureArray = [...]; | |
var linkArray = [...]; | |
var titleArray = [...]; | |
var descriptionArray = [...]; | |
var heightArray = [...]; | |
var widthArray = [...]; | |
//2.Creating of slideshow object | |
//transitionTime - the interval time, in seconds, between the display of subsequent pictures (Speed property of PictureLibrarySlideshowWebPart) | |
//mode - the display order (sequential or random) of the pictures (Mode property of PictureLibrarySlideshowWebPart) | |
var slideshowObject = new SlideshowObject(slideshowObjectId, pictureArray, linkArray, titleArray, descriptionArray, heightArray, widthArray, transitionTime, mode); | |
ChangePic(slideshowObject); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment