There's no public methods right now for loading a specific slide other than the first one when the page loads. You can do this by first changing the line:
Code:
setting.currentpage=(this.enablepersist)? persistedpage : 1
inside the .js file to:
Code:
setting.currentpage=(this.enablepersist)? persistedpage : setting.initialpage? setting.initialpage : 1
Then, when initializing your featured contents, specify a "initialpage" parameter:
Code:
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
enablefade: [true, 0.2], //[true/false, fadedegree]
initialpage: 2, //page number to start off with
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
This is different from jumping to a page via a URL parameter though.
Bookmarks