From: Robert R. <rra...@ya...> - 2001-01-24 21:12:08
|
Actually, the getContentW/H can be fixed by adding a setTimeout to createElement and not invoking the oncreate event until the elements such as .elm.offsetWidth are accessible. I'm just trying to see if there is a better way to do it. -- // Robert Rainwater On 1/24/2001, 3:48:33 PM EST, Jay wrote about "[Dynapi-Dev] humble assertion: DynAPI.findLayers is not NS6 c ompatible": > Thanks much Cameron -- it's good to have the issue validated not to mention > fixed! ;-) > When you say NS6 will hopefully be sorted 'soon', what kind of timeframe are > you estimating? > thanks again, > -J >> -----Original Message----- >> From: Cameron Hart [mailto:cam...@ya...] >> Sent: Wednesday, January 24, 2001 2:01 AM >> To: dyn...@li... >> Subject: Re: [Dynapi-Dev] humble assertion: DynAPI.findLayers >> is not NS6 >> compatible >> >> >> Hi, I submitted a patch to sourceforge to fix this, >> but it hasn't been added into cvs. it should fix this >> problem. you can get the patch from >> http://sourceforge.net/patch/?func=detailpatch&patch_id=103358 >> &group_id=5757 >> >> i submitted it as a diff, so you can either use a unix >> patch utility or update the file by hand. if you >> aren't familiar with diff's let me know and i'll send >> you the modified file. >> >> there are also some problems with events, i've tried >> to fix some of these in another patch which you might >> want to try as well. other developers are also working >> on these netscape 6 issues, so hopefully they'll be >> sorted out soon. >> >> cheers, >> >> cameron. >> >> --- Jay Chalfant <jch...@ou...> wrote: > >> Hello, >> > >> > I'm trying to work through issues to get our app >> > running on NS 6. This >> > includes an upgrade from dynlayer to DynAPI2. We >> > rely heavily on the inline >> > capability. >> > >> > In debugging today, I disovered that >> > DynAPI.findLayers is not adding any >> > divs to the DynDocument. I tracked this down to the >> > fact that line 17 of >> > inline.js: >> > >> > if(DynAPI.isDirectChildOf(divs[i],dyndoc.elm)) { >> > >> > always (in my app) returns false in NS 6. >> > >> > I believe the reason is that divs[i] is a div and >> > dyndoc.elm is a Window >> > object. The direct parent of a div in NS6 (DOM1) is >> > an HTMLBody element. I >> > tried a couple of DOM permutations/navigations to >> > get from the HTMLBody >> > element to the Window object but couldn't. >> > >> > Is anyone working on these issues? >> > >> > What, in general, is the functionality level of >> > DynAPI2 in NS 6? >> > >> > Finally, how would one contribute fixes to the >> > DynAPI2 codebase? >> > >> > thanks >> > >> > -J >> > >> > ---------------------- >> > Jay Chalfant >> > OutBack Resource Group >> > www.outbackinc.com >> > >> > _______________________________________________ >> > Dynapi-Dev mailing list >> > Dyn...@li... >> > >> http://lists.sourceforge.net/lists/listinfo/dynapi-dev >> > >> > >> >> >> __________________________________________________ >> Do You Yahoo!? >> Yahoo! Auctions - Buy the things you want at great prices. >> http://auctions.yahoo.com/ >> >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://lists.sourceforge.net/lists/listinfo/dynapi-dev >> > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev ---------------------- DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/ DynAPI Homepage: http://dynapi.sourceforge.net/ |