Netscape 6, Part III: The Event Model - Doc JavaScript | WebReference

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:

Next: How to set event handlers in Netscape Navigator 4.x

http://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: January 1, 2001
Revised: January 1, 2001

URL: http://www.webreference.com/js/column74/index.html