Netscape 6, Part III: The Event Model - Doc JavaScript
Netscape 6, Part III: The Event Model
This column is the third part of our series on Netscape 6. In this column we'll cover the event model of Netscape 6. Netscape 6's event model was influenced by both Netscape Navigator's event model as well as Internet Explorer's event model. We'll revise these models in this column to give you better perspective on Netscape 6's event model. We'll explain the event listener concept on which the model is based on, and we'll show you how to create event listeners. We'll demonstrate through a simple DIV
element how to define events and how to attach events handlers to them. We'll emphasize the advantages of Netscape 6's event model over these of Internet Explorer and Netscape Navigator 4.x.
In this column we'll introduce the e
object. This object, as in Internet Explorer and Netscape Navigator 4.x, provides a wealth of information about an event. We'll explain all its properties and their possible values.
In this column, you will learn:
- How to set event handlers in Netscape Navigator 4.x
- How to set event handlers in Internet Explorer
- How to set event handlers in Netscape 6
- How to use event handlers in a real example
- How to use the
e
object in a real example - How to use the
e
object's properties
Next: How to set event handlers in Netscape Navigator 4.x
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: January 1, 2001
Revised: January 1, 2001
URL: https://www.webreference.com/js/column74/index.html