Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kris on May 22, 2009 10:16
open dhtmlx forum
dhmlxWindows - z-index

Hello,

I have been experimenting with dhtmlxSuite and I really love it. I have a web application that uses other frameworks and I am using dhtmlxWindows in it.

When I open dhtmlxWindows it shows behind the other objects - Is there any way I can set the next highest z-index

I have tried - but did not work
dhxWins.window(id).bringToTop();

Please advise.

Thanks,

Kris
Answer posted by Alex (support) on May 25, 2009 01:38
Hello,

window z-index is set directly in the dhtmlxwindow.js, line 1464.

To increase z-index, please, locate the line
this.zIndexStep = 50;
and try to set a new z-index:
this.zIndexStep = 1000;

Answer posted by Kris on May 26, 2009 08:56
Thanks! that worked.

It would be helpful for future to make the z-index property accessible when creating windows.