Categories | Question details Back To List | ||
dhtmlWindow Hi, First, I have a div on full page (width=100%; height=100%). I use a dhtmlWindow on mode GPL and I would like that window is visible on the div. My window is not visible, i must define the hidden div to see the window. Here is the code for creating the window : var dhxWins=new dhtmlXWindows(); dhxWins.enableAutoViewport(false); dhxWins.setViewport(350,50,400,400); dhxWins.vp.style.border="#909090 1px solid"; dhxWins.setImagePath("ressources/img/"); dhxWins.enableAutoViewport(true); var w1=dhxWins.createWindow("w1",10,10,320,240); w1.setText("dhtmlxWindow"); w1.bringToTop(); w1.bringToBottom(); GetId(div).innerHTML = retour; w1.attachObject(div); w1.show(); I use ajax for load this window. Can i do ? Thank you for your help Answer posted by Support on May 19, 2008 06:07 You mixed code for different viewport initialization ways, if you need to have fixed viewport, the next code will be enough dhxWins.enableAutoViewport(false); The next two command used to change window inside of siblings hierarchy and also not necessary in your case //w1.bringToTop(); If problem still occurs - please check used z-Indexes, maybe you have some absolute positioned content over window. dhxWins.zIndexStep=NN; >>I use ajax for load this window. |