The Navigator Event Model: Final Thoughts - Doc JavaScript | WebReference

The Navigator Event Model: Final Thoughts - Doc JavaScript


A Final Word

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:

  1. How to utilize traditional event handlers with the attribute approach.
  2. How to utilize event handlers with the property assignment approach.
  3. How to capture and release events at a high level.
  4. How to process captured events.
  5. How to design event processing functions.
  6. How to pass an event to a specific object.
  7. How to drop an event through the hierarchy.
  8. How to access the event object for a specific event.
  9. How to use the event object's properties.
  10. How to use Navigator 4.0x's new and revised events.
  11. How to use the new mouse events.
  12. How to use the new keyboard events.

https://www.internet.com


Created: December 16, 1997
Revised: December 16, 1997

URL: https://www.webreference.com/js/column9/final.html