• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Summary

Event handlers are the interactive triggers in HTML and JavaScript. Whether the script traces a location or history property or launches a function, the World Wide Web would be far less interactive and interesting without the event handlers. They make things happen and give the designer tools to use events in planning and executing a web site design.

The bulk of the event handlers do not now have good cross-browser compatibility when used as properties of JavaScript objects. In future versions of JavaScript, such as JavaScript 2.0, developers and designers fervently hope that all browsers will follow the new standards consistently and will implement better event-handling properties that will launch from a method rather than HTML. However, rather than cursing the darkness of cross-browser incompatibility, using the nonconflicting event handlers in a coordinated development with an HTML page provides a wide variety of events from the mouse, keyboard, forms, and pages. By using the rich mix of events, designers can set up a web environment in which the user can experience a wide range of experiences that she herself causes to happen.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint