Re: javascript commands

"David Woolley" <david@djwhome.demon.co.uk>

> > It's DOM 0 you need and all browsers have implemented it pretty much
the
> > same, so look for documentation that you find friendly.
>
> Although this will cover a fair amount, a lot of pages will use the
> Netscape or IE specific bits, and some more recent ones will even use
> W3C's DOM1 (which works on IE5, although a lot of authors are probably
> not aware of this, as they treat NS6 as the special case and continue
to
> use document.all for IE5).

Using document.all has some very sensible arguments, it's supported by
all capable browsers bar Netscape including iCab, IceStorm, Konquerer,
Opera, and IE4 a huge number. and with appropriate object detection can
cause no errors, the arguments (which I support) for using DOM1 are
purely standards based rather than any expectation of working for the
most users.  In any case as using W3's DOM still requires using
proprietary the requirement to use standards is slightly flawed.

>  Pages that come up completely blank often are
> doing a test to decide whether to use the IE or NS4 proprietory
features.

Yes, but mapping the location object to links in the page would solve
that, even give you a choice, no need to implement any of those features.

Jim.

Received on Monday, 18 March 2002 17:56:54 UTC