View Full Version : Accordion Content script - Default

07-16-2008, 11:18 AM
1) Script Title: Accordion Content script

3) Describe problem: How can i set a default in the header of site, that there are all submenues closed?

Link ?submenuheader=0 opens the submenue.


07-16-2008, 07:28 PM
Warning: Please include a link to the DD script in question in your post, in this case: http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Not sure I understand the question actually. You'll have to elaborate. Sub menus can be open via a URL string by specifying the ID of its header class plus the position of the sub menus to open:

<a href="target.htm?mypets=0,2,3">Target Page (1st, 3rd and 4th headers expanded by default)</a>