bluzynski
03-17-2008, 07:48 PM
Greetings.
I have a php page which dynamically creates divs for the accordion based off data from a xml document. The functionality of the accordion works perfectly on this page including the hyperlinks I added to expand and collapse certain headers.
This page contains an iframe that links to information from a seperate html document. The problem I am having is trying to setup links in this external html document that will expand/collapse the headers from my main php page.
It seems to me that since the js function(ddaccordion.toggleone) is initated from the html document, it tries to reference the header classes from within the html document.
Is it possible to call the ddacordion.toggleone function from within an iframe but have it reference the css class information from my main php page?
Thanks in advance for your reply.
Ben
I have a php page which dynamically creates divs for the accordion based off data from a xml document. The functionality of the accordion works perfectly on this page including the hyperlinks I added to expand and collapse certain headers.
This page contains an iframe that links to information from a seperate html document. The problem I am having is trying to setup links in this external html document that will expand/collapse the headers from my main php page.
It seems to me that since the js function(ddaccordion.toggleone) is initated from the html document, it tries to reference the header classes from within the html document.
Is it possible to call the ddacordion.toggleone function from within an iframe but have it reference the css class information from my main php page?
Thanks in advance for your reply.
Ben