PDA

View Full Version : Menu Header Won't Close



birdbath
10-11-2011, 02:03 AM
1) Script Title: Bullet List Accordion Menu

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

3) Describe problem: I've copied the code onto my site and it works wonderfully except that whenever someone goes to my site the first menu header is expanded. (Like when you go to http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm and the "CSS Library" header is already open) Can anyone tell me how to make it so all the headers are closed when a visitor first reaches me site? Thanks!

azoomer
10-11-2011, 03:24 PM
Try changing this

defaultexpanded: [0],
to

defaultexpanded: [],
hope that does it