Warning: Please include a link to the DD script in question in your post, in this case: http://www.dynamicdrive.com/dynamici...daccordion.htm . See this thread for the proper posting format when asking a question.
Well, you're right that when you call something like:
Code:
<a href="#" onClick="ddaccordion.toggleone('mypets', 1); return false">Toggle 2nd header</a>
"mypets" is assumed to be a CSS class on the page the link is contained in. If this link is in an IFRAME but the Accordion menu it manipulates is in the parent document, what you should instead is first to make sure the Accordion Menu is installed on your main parent document and properly initialized, then try to call it directly from the IFRAME page, something like:
Code:
<a href="#" onClick="parent.ddaccordion.toggleone('mypets', 1); return false">Toggle 2nd header</a>
Bookmarks