PDA

View Full Version : Does Accordion plugin provide some seconds delay on mousehover?



camelh
06-17-2008, 10:47 AM
1) Script Title: Accordion plugin

2) Script URL (on DD):http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm?technology=0,1,2


3) Describe problem:
I would like to know if there is any way of adding a delay, so that each heading does not immediately reveal its content but rather it reveals its content after a delay of a second or so.

Is there any way of doing this? If there is, can you point me in the right direction?

Many thanks for all your work!

Nile
06-18-2008, 03:16 AM
Try doing something like this:

<a href="#" onClick="setTimeout(\"ddaccordion.collapseall('technology');\",2000); return false">Collapse all</a> | <a href="#" onClick="setTimeout(\"ddaccordion.expandall('technology');\",2000); return false">Expand all</a>