Forum Moderators: open

Message Too Old, No Replies

Good sites to learn DOM?

I know HTML / CSS, want to complete the trinity

         

Robin_reala

2:37 pm on Sep 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Having realised that my attempts to get a web design job are being stifled by knowing CSS/[X]HTML but not having played with Javascript I'm trying to get started.

I'm not bad at programming in a general sense (did my CompSci degree) and Javascript seems simple, so I suppose I'm mostly looking for a DOM guide. Something that describes how to use the w3c API to manipulate styles and the node tree.

At the moment I'm reading through w3schools and the Moz/DevEdge DOM guides. I'm going to go look at the w3 spec as well (this helped me to learn CSS and XHTML). What sites am I missing?

Birdman

3:36 pm on Sep 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello,

Mozilla [mozilla.org] has a pretty good reference.

Birdman

Robin_reala

3:40 pm on Sep 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yep, that's what I'm reading now.

Bernard Marx

4:38 pm on Sep 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I find it useful to separate out Core Javascript (the stuff that works in any host), from things that some would say maybe aren't JS at all (I admit, Tribble, this one's still moot.)...

W3C DOM / + proprietary extras
Host objects/methods like setTimeout, alert, location ...

If you've a CSc degree, then you'll learn core Javascript in no time. The only thing worth pointing out is that Javascript is very flexible. Often I see code written by people schooled in 'proper' programming languages that works perfectly but takes an unnecessarily long way round because they haven't seen the shortcuts available (because they didn't expect them).

Once you have the core sorted, you are equipped to deal with the mad, shifting, labyrinth that the old people used to call DHTML. Here's a few "Real World" links.

HowToCreate [howtocreate.co.uk] - Seems to have tested widely
QuirksMode [quirksmode.org] - Well respected
ZVON DOM2 Reference [zvon.org] - They've turned the W3C blurb into something approaching English.

Robin_reala

5:23 pm on Sep 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah, I can appreciate the different between the core language and the extended APIs (of which DOM is the one that's interesting me). Realistically I'd like to learn a standard then try and learn how to debug it for cross browser compatibility. Hey, it worked for HTML and CSS :) But thanks for the links, I'll go read.