Categories | Question details Back To List | ||
dhtmlxLayout is raising IE to don't load website! Hi there, we've just implemented dhtmlLayout and now we get problems with the IE7. The generated paths for the images of dhtmlWindow aren't correct. And this is the behaviour of the error. It seems to be, that the path of the dhtmlxWindow won't be set correctly. Kind regards Henning Answer posted by Support on Oct 21, 2008 02:59 Could you please provide more information? Answer posted by Henning Moellendorf on Oct 21, 2008 03:08 Hi there, I can't give you the exact error message because of I have an german Operating System. The error message is: "The website [URL] cannot be displayed. Process canceled" More isn't to see. In FF it works fine. Kind regards Henning P.S.: If you contact me via e-mail, I can send you the link with all appropiate information to view the problem. Answer posted by Support on Oct 21, 2008 06:51 And what about some code? Answer posted by Henning Moellendorf on Oct 21, 2008 07:05 Hi, ok, the following Javascript code is posted AFTER the div: <script language="javascript" type="text/javascript"> Every command after var dhxLayout = new dhtmlXLayoutObject("parentId", "2U", "dhx_blue"); raises an error. I tried to comment some out, but it doesn't work. this.polyObj[a].style.width = p[a][0]-2+"px" Kind regards Website-Script error User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2; .NET CLR 3.5.21022)
Answer posted by Support on Oct 21, 2008 07:34 Try manually fix layout's code: this._init = function() { .... this.dhxWins.setImagePath( here is your image path ); Answer posted by Henning Moellendorf on Oct 21, 2008 07:48 Dear support, the same problems exists further.
Kind regards Henning Answer posted by Henning Moellendorf on Oct 21, 2008 07:58 Some more information: The target DIV "parentId" is placed in some tables and other divs. Kind regards Answer posted by Support on Oct 21, 2008 08:08 var dhxLayout = new dhtmlXLayoutObject("parentId", "2U", "dhx_blue"); try to replace "parentId" with id of new div Answer posted by Henning Moellendorf on Oct 21, 2008 08:18 Hi, sorry, but this is also not working. is outer the last div or table. Kind regards Answer posted by Support on Oct 21, 2008 09:03 IE has known bug with dyn. adding elements to the page, while page in rendering process. Shortly - if you init some code, which creates content while document.body not loaded yet, from inline tag - it will throw error on new content creating. may result in error <body> <div> <script> code safe <body> <div> </div> <script> code safe <body onload="f()"> <div> <script> funciton f(){ code } the above is not specific to dhtmlx components , but may occur for any dynamic content |