Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by steve on May 18, 2008 08:15
open dhtmlx forum
Moving xwindow off screen

I would like to be able to move a dhtmlxwindow to be "off screen" (negative value for x and y) ... this doesn't seem to work when I try it using the move api. Is this possible ?

Thanks,
Steve
Answer posted by Support on May 19, 2008 05:56

Code of dhtmlxwindow has innser check , which prevent moving window outside of viewport borders.

You can disable the logic, by adding next line to dhtmlxwindow initialization

dhxWins._fixWindowPositionInViewport=function(){};