exDee/Pressure
09-29-2008, 01:49 PM
Heya, found the awesome featured content glider on the dynamic drive script page. Got a little problem that I need some help with.
Ill just assume those reading this knows a thing or two, so uh yea.
Link to the script
http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm
This is the init script of the glider from my index. My problem is that I need to toggle content from multiple divs, something that wasnt brought up on the page. I need to have more then just that "test" one, and I need them to open in the same glider div (glidecont)
<script type="text/javascript"> // glide scriptet
featuredcontentglider.init({
gliderid: "glidecont", //ID of main glider container
contentclass: "glidecontent", //Shared CSS class name of each glider content
togglerid: "test", //ID of toggler container
remotecontent: "Portfolio/glidecontent.php", //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]
})
</script>
Ive tried things like togglerid: "test, test2", etc and I tried using two instances of the glider (as show in the example on the last page) with the same gliderid.
Perhaps not sufficient information but thats all I could think of.
I really need some insight on this asap, would appreciate some help.
Ill just assume those reading this knows a thing or two, so uh yea.
Link to the script
http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm
This is the init script of the glider from my index. My problem is that I need to toggle content from multiple divs, something that wasnt brought up on the page. I need to have more then just that "test" one, and I need them to open in the same glider div (glidecont)
<script type="text/javascript"> // glide scriptet
featuredcontentglider.init({
gliderid: "glidecont", //ID of main glider container
contentclass: "glidecontent", //Shared CSS class name of each glider content
togglerid: "test", //ID of toggler container
remotecontent: "Portfolio/glidecontent.php", //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]
})
</script>
Ive tried things like togglerid: "test, test2", etc and I tried using two instances of the glider (as show in the example on the last page) with the same gliderid.
Perhaps not sufficient information but thats all I could think of.
I really need some insight on this asap, would appreciate some help.