-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
i have a borderlayout with South-Area. In the South-Area i have integrated a iFrame. If the South-Area is open and i fill the iFrame with
AMedia amedia = new AMedia("test.html", "text/html", "text/html", t.toString())
it works perfect. If i fill the iFrame and the South-Area is closed then i have a Problem because the javascript in test.html throws an error. The test.html inludes javascript and html.
I will load a map in background so the map is loaded when the user open the South-Area
Can someone help me?
Regards Andi
Hello andij62,
You could use the onOpen event, and in that create dynamically the AMedia component.
Do not forget to put some handling to check if the layout has been opened and you are set.
https://www.zkoss.org/javadoc/7.0.3/zk/org/zkoss/zul/Borderlayout.html
Best Regards,
Darksu
Asked: 2016-05-03 12:00:56 +0800
Seen: 16 times
Last updated: May 04 '16