Categories | Question details Back To List | ||
dhtmlxwindow how cas close in child document (sorry im not good at english) im using this code (parent page) window.onload = function() { var ws= new dhtmlXWindows(); ws.setImagePath('<%=imgF%>windowimages/'); ws.enableAutoViewport(true); ws.setSkin('dhx_blue'); var wi = ws.createWindow('Login', 0, 0, 400,100); wi.setText('Login'); ws.window('Login').attachURL('l.j'); ws.window('Login').center(); ws.window('Login').denyMove(); ws.window('Login').denyResize(); ws.window('Login').button('minmax1').hide(); } -child page- parent.ws.window('Login').close(); --> error --> i want close winow Answer posted by Support on Nov 10, 2008 04:21 ws should be global variable. |