Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Umair on Jun 12, 2009 05:18
open dhtmlx forum
DHTML Window

Hi
I am using the following function to freez the page except the dhtmlx window (when it is open)
dhxWins.window("w1").setModal(true);
It only freezes top portion of page. When i scroll down my page the lower part page is accessable. I want to freez this part also.
Kindly help
Regards
Umair
Answer posted by Alex (support) on Jun 12, 2009 06:12

Hello,

the following approach can be applied in this case:

You can place the overall container on the page - dhtmlxwindow viewport. This container can have any desired size In this case "modal" property will be applied inside this viewport (and the window will be show only inside it). 

The example of  setting viewport is dhtmlxWindows/samples/viewports/render_as.html


Answer posted by Denis on Jun 15, 2009 05:56
Hi. I have the same problem. I've made everything like in the example, the problem is resolved for Opera and Firefox, but is not resolved for IE. How can it be resolved for IE?
Answer posted by Alex (support) on Jun 16, 2009 03:08

Hello,

please see attached sample - possibly it'll help

Attachments (1)