Chapter 11. Understanding DHTML


As powerful as Cascading Style Sheets are, they aren't really dynamic per se. They give you control of how a document looks when it's first put on the screen, but what about after that?

Web pages created with CSS can have their style properties changed on the fly (that is, dynamically) through a scripting language such as JavaScript.

In addition, dynamic HTML (DHTML) lets users directly interact with Web pages, so you can create far more sophisticated user interfaces than with simple HTML. For example, the Web site for Panic uses DHMTL, so users can quickly download the company's software (Figure 11.1). Clicking the application icon displays more information about the product, but dragging and dropping the same icon downloads the application. This kind of interface would not be possible without DHMTL.

Figure 11.1. On the Panic Web site (panic.com), you can click an application icon to view details about the product or drag and drop the icon to download the application.


This chapter discusses what makes DHTML dynamic and looks at how the technology compares to the other leading dynamic Web technology, Flash.




CSS, DHTML and Ajax. Visual QuickStart Guide
CSS, DHTML, and Ajax, Fourth Edition
ISBN: 032144325X
EAN: 2147483647
Year: 2006
Pages: 230

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net