[thelist] How do I know if a piece of JS is DOM or browser specific?

Timothy J. Luoma lists at tntluoma.com
Mon Oct 14 21:53:01 CDT 2002


I'm trying to learn how to play with the DOM, but I want to avoid any
browser specific stuff and code "W3C" DOM.

The trick is that I don't know any Javascript/EMCAscript.  I mean
none... I haven't even played with anything beyond 'window.open'... and
then I thought to myself "Is 'window.open' what I should be using, or is
there an alternative, W3C/DOM way?"

Is there a list somewhere of the W3C allowable .... methods (or whatever
the right word is for things like 'window.open')?

I know how to tell if I am writing valid XHTML, and I know how to tell
if I am writing valid CSS, but how do I know if I am writing valid W3C
DOM scripts?

tia
TjL

ps -- there seem to be a lot of books coming out for XHTML and CSS
standards, but are there any out there for writing 'strict' DOM scripts?
  is there a beginner's DOM/JS list out there somewhere I should be
joining so I can annoy them instead of you?

--
OperaBlog: Beyond30                      http://tntluoma.com/beyond30
30 Days to becoming an Opera Lover     http://www.tntluoma.com/switch
Opera Panels / Sidebars                  http://tntluoma.com/sidebars





More information about the thelist mailing list