to events. Event bubbling makes it possible to write one function to process events from many objects. Commercial component builders can design advanced tools with languages such as Java or C++.
Microsoft introduced Scriptlets with the final release of Internet Explorer 4. This technology lets DHTML developers create components for reuse by other Web authors. These DHTML-based components also serve as Component Object Model (COM) objects that any COM container, even Word, can run (
see the table
).
The W3C issued a series of preliminary specifications in 1997 that cover cascading style sheet
s (CSS), CSS positioning, and the DOM. The W3C will finalize its DHTML specifications in 1998. During 1997, both Microsoft and Netscape committed to an "interoperability pledge," which states among other things that their browsers will comply with W3C final specifications. Until -- and even after -- the browsers comply with the final specifications, HTML authors will face compatibility issues.
Both browsers have technology that relates to DHTML but is outside its immediate scope. Netscape browsers permit positioning with their Layers technology as well as the W3C positioning coordinates. The Layers approach is incompatible with the W3C specification. Microsoft's Scriptlets technology requires some code that is not part of Netscape browsers at the time of this writing. Because Scriptlets are an application of DHTML, they are beyond the scope of the interoperability pledge.
DHTML poses challenges for Web-site developers. There is the issue of incorporating the new technology into
Web pages. This is more than learning a few scripting instructions and some HTML element properties, methods, and events. It includes making trade-offs between direct authoring versus relying on applets and components. Direct authoring promises faster downloading of pages and more customization, but using applets and components allows shared access to advanced developer skills.
Should Web developers bother learning DHTML? You decide after contrasting your static HTML site with a competitor's DHTML site.
Where to Find
W3C
Cambridge, MA
Phone: 617-253-2613
Internet:
http://www.w3.org