HOUR 13:Using the W3C DOM

What You’ll Learn in This Hour:

• How the W3C DOM standard makes dynamic pages easier

• How the DOM’s objects are structured

• Understanding nodes, parents, children, and siblings

• Creating positionable layers

• Using CSS’s positioning properties

• Controlling positioning with JavaScript

Throughout this book, you’ve learned about the DOM (Document Object Model), JavaScript’s way of referencing objects within web documents. In the last hour, you learned to modify style sheet properties on the fly using JavaScript.

During this hour, you’ll learn more about how the DOM represents the objects that make up a web document, and how to use DOM objects to move objects within a page.

The DOM and ...

Get Sams Teach Yourself JavaScript in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.