From: Leif W <war...@us...> - 2004-09-08 18:03:44
|
Hi, Well, about the first issue, it's a bug that popped up in Mozilla 1.4 (about 15 months ago) that the Mozilla group seems to ignore? The topic has been discussed on the list and should be in the archives. Search for the error message and you'll find it. The error can be reproduced with very simple HTML code and has nothing to do with the API. It's an annoying error, but I don't remember it interferring with anything. http://www.mail-archive.com/dyn...@li.../ http://www.mail-archive.com/dyn...@li.../msg05665.html http://bugzilla.mozilla.org/show_bug.cgi?id=208427 I can't speak to the cross-browser or widget interaction stuff off-hand without investigating further. A bit of example code is sometimes helpful, with notes in comments about what you've been trying, so others can reproduce the results and make suggestions. I'm not aware of any other site with full documentation. The documentation provided is as much as I've seen, though it is incomplete. It looks nice, but some gaps need to be filled in. The mailing list archives for dynapi-help and dynapi-dev may be good resources. Some of the examples are pretty good, but could probably be expanded as well. Leif ----- Original Message ----- From: "Seb" <se...@sy...> To: <dyn...@li...> Sent: Wednesday, September 08, 2004 05:41 Subject: [Dynapi-Help] couple of things... > Hello list. > First off, thanks for making this nice product. Once I figured out > how to use it (mostly) it's great. > > I'm using the DynAPI 3 beta 1 from CVS. > > Couple of things.. first, and this may just be some bug or I am doing > something wrong... if I put any text input form elements on a page, > Firefox gives me this error in the javascript console: > > Error: [Exception... "'Permission denied to get property > HTMLDivElement.parentNode' when calling method: > [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e > (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] > > Seems DynAPI appends on mouse events to these text input fields, even if > they aren't added using DynAPI... and firefox doesn't like what they are > trying to do? IE doesn't give any errors... but I haven't looked at any > console output from IE... not sure if there is one.. > > Second, some cross browser stuff seems off.. for instance, trying to > center a layer on a page, using anchors - it centers right in firefox > (using the 2 centerH,V anchor methods) but in IE it centers horizontally > then centers vertically at origin 0, instead of at the middle of the > page. So that doesn't work.. I also tried using half of > DynAPI.document.getWidth(); minus half of the width of the element to > center it (same with vertical) but IE chokes on that if it's done before > onLoad (firefox works fine here) but if I do it after or during onload, > the bordermanager stops drawing borders... ! > > What's the proper way to center a layer on a page in a cross-browser > compatible way? (that wont break other functionality) > > Also is there a site out there with nice documentation of the API, or > proper tutorials? > > Thanks, > Seb > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > |