Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by REZA on Mar 23, 2009 18:10
open dhtmlx forum
Accordion : How to attach URL from another HTML page

Hi,
I wonder if it is possible to attach an URL to accordion from another web page. Here is the situation, I have my menu in menu.html that loads in a frame. In body frame I load body.html that includes an accordion with 3 panels.
Now, I want that by clicking on my menu items , the target web page load in specific panel in accordion in body.html. It means to call attachURL function from another page.

Do you think it is possible ?

Thanks
Answer posted by Alex (support) on Mar 24, 2009 04:49

Hello, 

It is possible. But you should use the correct window object. For example:

parent.accordion.cells(id).attachURL(url);