spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column9


The Navigator Event Model

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

User actions in JavaScript are called events. The browser constantly monitors document elements that are capable of reacting to user actions. You can write scripts that perform a given task when a specific event occurs, based on where the event occurred, and other relevant attributes. Netscape Navigator 4.0x and Microsoft Internet Explorer 4.0x introduce new events, new elements that support events, and an entirely new event model. The event model connects actions (events) that occur on the page with scripts, so you can design interactive web pages. In this column we'll discuss the event model as implemented in Netscape Navigator (we'll cover Microsoft Internet Explorer's event model in the next column). You'll find out:

  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.

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji


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

URL: http://www.webreference.com/js/column9/