View Full Version : CSS Accordion Menu closed on start up

11-19-2008, 12:48 PM
i want to use the menu http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm

Now i want to customize it.
On Start up i want that all menuheaders are closed.
And i want that the space between the headers is not so big.

Where do i have to make changes for my customization?

Thanks for your help


11-19-2008, 02:53 PM
I don't know about the space, but to close all menus on startup make sure this line looks like this:

defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
The red part explains what you can change and how.

11-27-2008, 10:45 AM
Thanks for your help.

Now i only need to know were i can change the space between the menu parts.

11-27-2008, 12:45 PM
Another question is i want to make an on click event when i open the header,
where do i have to make the changes for this.
An example event is show an picture on the website or make an url link.