|Categories||Question details Back To List|
I am crating Dhtmlx window using following code
var url = "address.php";
dhxWins = new dhtmlXWindows(); // dhxWins is global variable
dhxWins.setViewport(0, 0, document.body.scrollWidth, document.body.scrollHeight);
w1= dhxWins.createWindow("w1", 50, 50, 700, 470);
w1.setText("Send Arrival/Delivery Report");
It works fine in Internet Explorer but not in Firefox.
In firefox it works only onece i.e. when i click a button that create dhtmlx window it creates the window fine, but when i close that window than no link works further.
Answer posted by Alex (support) on Jun 12, 2009 08:38
if you want to define viewport that occupies the whole page, please use either an automatic viewport or some overall html container as it is shown in the sample http://dhtmlx.com/docs/products/dhtmlxWindows/samples/viewports/render_as.html (dhtmlxWindows/samples/viewports/render_as.html in the window package).
In your example the viewport is set over the page content and content is disabled.