The function to call to go to a specific slide using arbitrary links (or otherwise) is the function:
Code:
featuredcontentglider.glide(glidersettings, pagenumber)
Before you can use the above function though, you'll need to modify your initialization code so the settings entered into it is stored inside a variable. For example:
Code:
var glidersettings={
gliderid: "canadaprovinces", //ID of main glider container
contentclass: "glidecontent", //Shared CSS class name of each glider content
togglerid: "p-select", //ID of toggler container
remotecontent: "", //Get gliding contents from external file on server? "filename" or "" to disable
selected: 0, //Default selected content index (0=1st)
persiststate: false, //Remember last content shown within browser session (true/false)?
speed: 500, //Glide animation duration (in milliseconds)
direction: "downup", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
autorotate: true, //Auto rotate contents (true/false)?
autorotateconfig: [3000, 2] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
}
featuredcontentglider.init(glidersettings)
All I'm doing here is storing the settings in a variable before passing it into init(). With the settings cached, you can create an arbitrary link that jumps to page 3 when clicked on, for example:
Code:
<a href="javascript:featuredcontentglider.glide(glidersettings, 2)">Go to page 3</a>
Bookmarks