home / experts / javascript / column9 |
|
Netscape Navigator 4.0x's new event model gives you, the scripter, much more control over what happens on your pages. Not only are there many new and revised events, but you can also capture them at various levels in the document. The new event model differs from most other scripting and programming environments, where an event is first sent to its intended target. If it is not captured by that object, the event continues upward through the hierarchy of increasingly more global containers, until the event is captured, or until it passes through the entire hierarchy. Netscape Navigator 4.0x's event model is the exact opposite. The event travels from the top to the bottom. In our next column we'll discuss Microsoft Internet Explorer 4.0x's event model, which is a typical one. You'll find out how to deal with event bubbling, and how to write cross-browser event handling scripts. In this column you learned:
|
Created: December 16, 1997
Revised: December 16, 1997
URL: http://www.webreference.com/js/column9/final.html