spacer

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

home / experts / javascript / column9


The Navigator Event Model

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

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, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


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

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