Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jan 20, 2010 07:05
open dhtmlx forum
DHTML Window

In my project i have a Static HTML page inside a DHTML Window.

Is it possible to resize the content of the HTML page when we resize the DHTML window?

can anyone help??

Regards
Uthra

Answer posted by Alex (support) on Jan 20, 2010 08:49

Windows doesn't provide public methods to control the elements of the page that is loaded inside iframe. And if the page from another domain, it is impossible to access its content.

You can define the onResizeFinish event to call the necessary functionality after the window resize:

http://www.dhtmlx.com/dhxdocs/doku.php?id=dhtmlxwindows:event_onresizefinish

The frame can be got by _frame property (windowObject. _frame)