View Full Version : Can't get defaultexpanded in Accordion Menu

03-17-2012, 12:28 PM
1) Script Title: Accordion Menu

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

3) Describe problem: I tried the "Glossy Accordion Menu" and want it to have a default expand... expand one of the headers when page loads. I tried to do it in the script in the head section on "defaulrexpanded[]"...

<script type="text/javascript">
headerclass: "subme......
defaultexpanded: [1], //index of content(s) open by default [index1, index2, etc] [] denotes no content

This just doesn't seem to work... it's like just ignored... in the Glossy Accordion Menu I tried with defaultexpanded[0]... and with 1 and 2, but nothing happens.

Hope you can help me, Thank you

Laurence Aarnio