Good morning to you all!
I have an interesting problem: I am loading 2 web pages in two cells of a “2E” layout:
scenePreviewLayout.cells(“a”).attachURL(“http://mydomain/page1.php”);
scenePreviewLayout.cells(“b”).attachURL(“http://mydomain/page2.php”);
Unfortunately I cannot find any way of knowing when it has finished loading the page1.php and page2.php so, If I try to refer to controls on either of these pages too soon I cannot find then, for example, if page1.php has a javascript function called “test1()” if I do this too soon it will not find the function:
var frame1 = scenePreviewLayout.cells(“a”).getFrame();
frame1.test1();
What is MORE important for me is someway of making page1.php refer to page2.php and vica versa, somehow going up and back down the dom tree.
in other words, how can I refer to functions on page1.php from page2.php ??