View Full Version : Content Glider link to specific slide

08-13-2011, 12:52 PM
1) Script Title: Featured Content Glider

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

3) Describe problem:

Right, I have a Content Glider containing various products. See http://charter.mpadusa.com/catalog.aspx?collid=14807

Works great but when someone clicks on a product and then clicks the "Return to collections" link, it takes them back tot he start of the Content Glider.

I would like it to take them back to the specific slider that they were on before they click the product.

I can pass a URL variable with the product and when they return but how would I tell the script to go to that slide when it sees that URL variable.


08-13-2011, 02:14 PM
Have you tried using the built in persist feature? To turn it on, set it in the on page init, ex:

<script type="text/javascript">

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: true, //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]