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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.