A Final Word
With this column we complete our series about the new event models in Navigator 4.0x and Internet Explorer 4.0x. You should now have a deep knowledge of the event model in each of these browsers, including the new events.
Despite the differences between these implementations, there is a significant overlap. Even though they are opposites in many means, it is not difficult to write scripts that accommodate many features of both models. In this column we showed you exactly how to do this.
If you read the entire series, Column 9, Column 10, and Column 11, you should be familiar with cross-platform development. You probably noticed that it is not possible to use every single feature from each event model. For example, you cannot add an event handler to a paragraph when creating a cross-browser application. In this column you learned:
- How to avoid elements that do not support the same event handler in both browsers.
- How to capture events at a high level.
- How to access the
eventobject from within the event processing function.
- How to utilize the
- How to detect modifier keys.
- How to find out what key or mouse button the user pressed.
Created: January 13, 1998
Revised: January 13, 1998