Hello everyone,
I’m currently creating a window whose content is dynamically loaded by using the attachURL function.
I’d like to resize this window to it’s content’s size … but I failed …
I’m using the OnContentLoaded event to enter in the callback and want to call the setDimension function.
Unfortunately, I don’t find how to retrieve the content’s size.
I looked on the documentation and found this example’s code :
dhxWins.window("w1")._frame.contentDocument.offsetHeight
… but the object returned by dhxWins.window() is an HTMLDivElement which doesn’t contains any “_frame” property.
Any idea ?
Thanks by advance …