12. DHTML Basics
The ability to change a Web page dynamically with a scripting language is made possible by the Document Object Model (DOM), which makes any element on the page available to JavaScript. This powerful capability allows you to change not only virtually any attribute set for an element, but also any property that can be controlled with CSS (Figure 12.1).
Figure 12.1. The Rijks Museum of Amsterdam uses some cool DHTML techniques integrated with a bit of Flash to create an interactive webbed environment (rijksmuseum.nl).
Although the DOM didn’t start out as a standard, the good news is that modern browsers now use the DOM standardized ...
Get CSS, DHTML, and Ajax: Visual QuickStart Guide, Fourth Edition 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.