Re: Desperately I need the specifics!
by "Frank Boumphrey" <bckman(at)ix.netcom.com>
|
Date: |
Sun, 28 Jan 2001 01:53:19 -0500 |
To: |
"=?iso-8859-1?Q?Alberto.=B7.Vallini?=" <vallinis(at)yahoo.com> |
Cc: |
<hwg-techniques(at)hwg.org> |
References: |
yahoo yahoo2 |
|
todo: View
Thread,
Original
|
|
Alberto,
there are several 'DOM's'. Netscape 4 had a proprietry DOM, IE4 had a
different proprietry DOM, and IE 5 supported the W3C DOM (both the
XML DOM and the HTML DOM) and was backwardly compatible with the old
IE4 DOM(they still are).
W3C has published 3 DOM's, I, II, and III. I includes both an XML DOM
and an HTML DOM. It is this DOM (Version I) which is currently
supported by both IE5 and Nn6.
If you are intending to use the DOM in your scripting I strongly
suggest that you stick to this DOM, other wise you will find yourself
having to browser sniff and write several different scripts :>)
Frank
----- Original Message -----
From: "Alberto.�.Vallini" <vallinis(at)yahoo.com>
To: "Frank Boumphrey" <bckman(at)ix.netcom.com>
Cc: <hwg-techniques(at)hwg.org>
Sent: Saturday, January 27, 2001 11:26 PM
Subject: Re: Desperately I need the specifics!
Thank you Frank, I know you're a pillar in our environment, but
really:
what do you mean when you say they are compliant 100% with dom1?
Instance:
Ok, an istance:
NN4: innerWidth
IE4/(IE5 too): document.body.clientWidth
Now question is:
IE5/NN6: ???
What is the dom 1 then: innerWidth or body.clientWidth?
Apparently they have completely different doms, so now what NN6 and
IE5
would use: both clientWidth or both innerWidth?
Also the w3c.org website cannot be really helpful: I have no doubt you
can
orientate yourself on that site, but I'm used to things like Danny
Goodman,
Jeff Rouyer, Jeffrey Friedl: I mean, people who explain and not just
post
codez :) I always found the w3c.org webiste like the last resource to
resort to when you want to know how to implement something (ok, my
ignorance I agree!!).
The new dom shared by IE5 and NN6 is still a mistery! We don't have
one
single book. Ok, I'm not unexperienced, but neither I am so
experienced to
find the right path at the w3c.org website when they say things like:
org/w3c/dom/Node3.java:
package org.w3c.dom;
public interface Node3 {
public String getBaseURI();
public static final int DOCUMENT_ORDER_PRECEDING= 1;
public static final int DOCUMENT_ORDER_FOLLOWING= 2;
public static final int DOCUMENT_ORDER_SAME= 3;
public static final int DOCUMENT_ORDER_UNORDERED= 4;
public int compareDocumentOrder(Node other)
throws DOMException;
public static final int TREE_POSITION_PRECEDING= 1;
public static final int TREE_POSITION_FOLLOWING= 2;
public static final int TREE_POSITION_ANCESTOR= 3;
I mean, they find it explicative, I find it just code. Also this whole
matter of the nodes,... is there something for normal humas with
javaScript
and html and "old" dhtml and perl background where they explain to us
what
these getElementById and getElementByTagName are?
They really look like the phoenix: everybody knows it exists, nobody
knows
where it is.
Thank you very much in any case! I'm hungry for knowledge, but this
new dom
is like looking for the holy Graal!
>Alberto,
>ie5 and I think nn6 are 100% compliant with the DOM level 1
>properties. IE5 also have some proprietry properties and methods for
>use with their XMLDOM ActiveX object.
>see www.w3.org and search for DOM.
>
>clipping, move by, etc are CSS properties, not DOM properties.
>
>Frank
>
>----- Original Message -----
>From: "Alberto.�.Vallini" <vallinis(at)yahoo.com>
>To: <hwg-techniques(at)hwg.org>
>Cc: <hwg-languages(at)hwg.org>
>Sent: Saturday, January 27, 2001 3:19 PM
>Subject: Desperately I need the specifics!
>
>
>
>
>I'm getting crazy after this: does anybody know of a book or resource
>where, not in a nutshell or merely manualistic style, I can finally
>get a
>list of the new IE5/NN6 shared DOM properites?...(snip)...
Alberto.�.Vallini
vallinis(at)yahoo.com - vallini(at)altavista.it
"Under the sun of the sleepless" [Byron]
_________________________________________________________
Do You Yahoo!?
Get your free (at)yahoo.com address at http://mail.yahoo.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA