Categories | Question details Back To List | ||
Window init() error / Cannot assign to '[number]' Hi, I'm trying to get a dhtmlxWindow in a page, after 'onclick' on a object; this page contains already Grids, Tabbar, etc ... I've tried to use the example code from samples: " <script src=".../codebase/dhtmlxwindows.js"></script> <script src=".../codebase/dhtmlxwindows_mod.js"></script> <link rel="STYLESHEET" type="text/css" href=".../codebase/dhtmlxwindows.css"> <link rel="STYLESHEET" type="text/css" href=".../codebase/skins/dhtmlxwindows_dhx_blue.css"> var dhxWins = new dhtmlXWindows(); dhxWins.enableAutoViewport(true); dhxWins.setViewport(350, 50, 400, 400); dhxWins.vp.style.border = "#909090 1px solid"; dhxWins.setImagePath(".../wnd/codebase/imgs/"); var w1 = dhxWins.createWindow("w1", 10, 10, 320, 240); w1.setText("Filters for studies"); w1.button("close").disable(); w1.setModal(true); " I'm getting the error " Cannot assign to '[number]' ". Thanks for your help. Regards. Answer posted by Support on Oct 23, 2008 06:54 Hello, dhtmlxWindows code correct, it seems problem with other part of script. What is "dhtmlxwindows_mod.js"? could you please attach demo to vire issue or give us direct link? Answer posted by Sunchaser on Oct 23, 2008 08:04 Hi, Sorry, I took an example and tried it, but I really didn't realised that "dhtmlxwindows_mod.js" was the error. I can't find it again, so I don't know where was this example. Sorry for that "stupid" error. Thanks. |