PDA

View Full Version : Adding slider (autoplay) to accordion



pixelwiz
09-12-2011, 06:37 PM
1) Script Title: Accordion Content script (v1.9)

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

3) Describe problem:
Is it possible to add autoplay to this script somehow. So that after like 4 seconds the slides automatically change to the next item?

Essentially combining the accordion with slider functionality.

djr33
09-12-2011, 10:26 PM
You could set a Javascript timer for every 4 seconds and then use the information on this page to open a slider each time:
http://www.dynamicdrive.com/dynamicindex17/ddaccordion_suppliment.htm
You could also just use a loop to go through each element and then pause for 4 seconds between iterations. I'm not sure which would be easier.

pothunter
02-09-2012, 07:32 AM
I have looked at the URL you provider but see how to add it, would you know what alterations I need to make?