1.3. Shared Event Handler Attributes
The evolution of shared event handler attributes over the course of scriptable browser history is not straightforward. While all renderable elements have the common mouse and keyboard event handler attributes starting with IE 4, Mozilla 0.9, and HTML 4, the earlier browsers implemented only some of these event attributes and only for interactive elements. Elements that have always responded to mouse clicks (e.g., form button controls, links, and image maps) supported onclick events. Links and image maps also generally support mouseover and mouseout events going way back. Microsoft brings a large repertoire of event handler attributes to Windows-only versions of Internet Explorer, and Apple has adopted many of them in Safari 1.3/2 to be used primarily in Dashboard widgets. For more details on each event type and other types not listed here, see Chapter 3. |