From: Tarun R E. <ta...@we...> - 2000-10-27 21:19:01
|
Hi Jason, This WAS a bug that caused a script timeout in IE, that I too faced just a few days ago, but it has been fixed by the DynAPI experts (Pascal did it) . I too like you asked for help and got it! It happens only when images are present in NESTED inline divs. To fix this do 2 things : * Download the latest version of the DynAPI. (24th October full) * replace the file core.ext.inline with the one Pascal mailed everybody 48 hours ago. I dont want want to repost what he has already send ... It has been put up as a patch dated Oct 26 at sourceforge (http://sourceforge.net/patch/?func=detailpatch&patch_id=102127&group_id=575 7) with the patch id as 102127. I took the one that he sent in the mail, but the patch at sourceforge should be the same and work the same way. Hope that solves it, I happened to go through the same problem. ----- Original Message ----- From: "Jason LaFosse" <ja...@go...> To: <dyn...@li...> Sent: Saturday, October 28, 2000 1:07 AM Subject: [Dynapi-Help] IE5 Bug ? - Inline Layers w/ image > I am not sure if this is a bug in IE5.00x or not. > > I am using the DynAPI2 and trying to do a simple nested inline layer test > which is nearly identical to the core.api.divs.htm example file. The only > difference is that I am trying to place an image in the child layer. This > works fine in Netscape, however doing so causes IE to choke. I get a message > stating: "A script on this page is causing IE to run slow...." > > Here is the source code: > > -------------------------------------------------------------------------- -- > ------ > <html> > <head> > <title>Inline Layer Test</title> > > <script language="Javascript" src="./js/dynapi2/Core/js/dynapi.js"></script> > <script language="Javascript"> > > DynAPI.setLibraryPath('./js/dynapi2/Core/js/lib2.0/') > > DynAPI.include('core.api.dynlayer.js') > DynAPI.include('core.api.browser.js') > DynAPI.include('core.api.dyndocument.js') > DynAPI.include('core.api.events.js') > DynAPI.include('core.ext.inline.js') > > DynAPI.onLoad=function(){ > > parentLayer=DynAPI.document.all["parentDIV"] > DynAPI.document.all["parentDIV"].setBgColor('#efefef') > DynAPI.document.all["parentDIV"].moveTo(100,100) > DynAPI.document.all["parentDIV"].setSize(300,300) > DynAPI.document.all["test1DIV"].setSize(20,20) > > } > </script> > </head> > > <body> > <div id="parentDIV" STYLE="position: absolute"> > <div id="test1DIV" STYLE="position: relative"> > <img src="test.gif" width="20" height="20" border="0" alt="A test gif"> > </div> > </div> > > </body> > </html> > -------------------------------------------------------------------------- -- > -------- > > Is this a bug, or am I doing something stupid? > > Thanx! > > Pax, > Jason > > > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-help > |