dhtmlx toolbar and window?

when i use this sample “http://dhtmlx.com/docs/products/dhtmlxLayout/samples/03_attach_to_layouts_top/07_in_fullscreen_mode.html

i wanna click “the open button”,it can open a window.
but it cannot open the window.

could you help me ?

html, body { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow: hidden; } .text_block { font-family: Tahoma; font-size: 12px; padding: 5px 10px; height: 70px; border: 1px solid #a4bed4; background-color: white; } div#addWin { position: relative; height: 350px; border: #a4bed4 1px solid; border-radius: 2px; margin: 10px; }
------------------------------------------ <?xml version="1.0"?> --------------------------------------

[
{type: “settings”, inputWidth: 130, labelWidth: 50, labelAlign: “left”},
{type: “block”, name: “left_block”, width: 210, list: [
{type: “input” , name: “inp_L1”, label: “Name:”},
{type: “input” , name: “inp_L2”, label: “Name:”},
{type: “input” , name: “inp_L3”, label: “Name:”},
{type: “input” , name: “inp_L4”, label: “Name:”}
]},
{type: “newcolumn”, offsetLeft: 5},
{type: “block”, name: “right_block”, width: 210, list: [
{type: “password” , name: “inp_R1”, label: “Pass:”},
{type: “password” , name: “inp_R2”, label: “Pass:”},
{type: “password” , name: “inp_R3”, label: “Pass:”},
{type: “password” , name: “inp_R4”, label: “Pass:”}
]}
]

Hello
It really opens window, but you can’t see it, because its viewport set to the div with style=“display: none”
For what reason you hide layout? May be if you explain your logic we can suggest you the best way of implementation in your case?
Just for try you can delete style=“display: none” setting and you will see opened window by clicking “open” toolbar button

if i set block ,the toolbar and form will be more problems.

you can look my picture…
and it hasn’t any information for this question


when i put the div in controls div.when i click open .
dhtmlxwin not display on the top of dhtmlxLayout


It seems like you need to have window viewport in cell A of layout.
You can achieve it the next way:

dhxWins.attachViewportTo(myLayout.cells("a").cell);

Then if you need to center this window - method center() will be center window relative to this cell

but i wanna the windows on the top whole layout . not a cell !
it looks like dhtmlxWindow cannot implement this function.
it’s very trouble…

i cannot understand the window must with a html div implement dhtmlxWindow.
i have to change a way and all codes have to give up.

To make window be over the whole layout you can set viewport to document body (see this sample)
dhtmlx.com/docs/products/dhtmlxW … wport.html
If you want to set window position you can use method setPosition or init window with correct coordinates at start
dhtmlx.com/docs/products/dhtmlxW … ition.html