The History of DHTML
When dynamic HTML was first being developed in the mid-1990s, Netscape and Microsoft had differing ideas about what technologies should be used to make HTML more dynamic.
Netscape brought several new technologies to the table, hoping to create more dynamic Web pages. Unfortunately, these technologies will never become standards because CSS does most of the same things and is endorsed by the W3C.
In addition, Netscape
Although Mozilla, and by extension Firefox, inherited the mantle of Netscape browser development, it did not continue support for the Netscape-specific DHTML extensions.
Much of the Microsoft-specific DHTML is based on proprietary Microsoft technologies, such as ActiveX. Because ActiveX is owned by Microsoft, it is
Microsoft also introduced dynamic visual filters (which use ActiveX controls) that let you add visual effects to graphics and text in your document. If you've ever worked with Photoshop filters, you'll most likely also understand how to work with visual filters. The problem is that these filters are not standard on all browsers, and aren't even supported in all versions of Internet Explorer.
I do not recommend using ActiveX or its visual filters except in the few cases where a similar effect can be achieved for other browsers using standard code, such as is the case with opacity (see "Setting an Element's Opacity" in Chapter 8).
Why Should I Use DHTML?
Because you purchased this book, you've already made some commitment to using DHTML. But in case you haven't bought the book and are just flipping through and looking at the cool examples, let me try to make a balanced case for why you should use DHTML in your Web designsand warn you about some of the troubles you may face.
Obviously, DHTML is not without its advantages or no one would use it. It has taken a few
It's not all smooth sailing with DHTML, however. To use DHTML, you need to understand its weaknesses as well as its strengths.