olee1kenobi
04-30-2008, 08:45 AM
1) Script Title: Accordion Menu script (v1.3)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm
3) Describe problem: Is there a way of setting which menu header opens on a page without passing a parameter in the url?
I've added the following link the page and when clicked the 1st menu header opens, which is great but I don't want to have to click the link. I've tried adding this to the onload event of the body tag but this doesn't work. Any ideas?
<a href="#" onClick="ddaccordion.expandone('expandable', 0); return false">Expand 1st header</a>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu.htm
3) Describe problem: Is there a way of setting which menu header opens on a page without passing a parameter in the url?
I've added the following link the page and when clicked the 1st menu header opens, which is great but I don't want to have to click the link. I've tried adding this to the onload event of the body tag but this doesn't work. Any ideas?
<a href="#" onClick="ddaccordion.expandone('expandable', 0); return false">Expand 1st header</a>