Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by fathul wahhab on Apr 02, 2009 02:36
open dhtmlx forum
dhtmlxwindows viewport

how to set viewport area with '%'. so i can set viewport width same (100%) with body width. thx
Answer posted by Alex (support) on Apr 02, 2009 04:45

You can use attachViewportTo method to attach viewport to the container with necessary style:

dhxWins.attachViewportTo("container_id");

The sample is

dhtmlxWindows/samples/viewports/render_as.html