Home arrow JavaScript arrow Handling events with the DOM, part II
JAVASCRIPT

Handling events with the DOM, part II


In this second article in a three part series, we will delve more deeply into how Netscape, Mozilla, and Internet Explorer manipulate event handlers, and take a look at building a simple drop-down menu.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 7
April 26, 2005
TABLE OF CONTENTS:
  1. · Handling events with the DOM, part II
  2. · Assigning event handlers in NS6 and Mozilla
  3. · Assigning event handlers in IE5
  4. · Using the "attachEvent()" method: a simple drop-down menu in IE

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Handling events with the DOM, part II
(Page 1 of 4 )

Introduction

 

Welcome back to Handling Events with the DOM. To refresh your memory a bit, in Part I, we introduced important concepts about the assignment of event handlers in Web pages, as well as a detailed look at the DOM event flow, covering in-depth definitions of Event Capture and Event Bubble. As we go deeper into this territory, numerous browser incompatibilities are still messing up a Web developer's life, adding more inconsistencies to the already long non-standard world of the Web.

 

However, all is not lost. Efforts have been underway, particularly at the W3C, to establish common standards for all browsers. Hopefully, we’ll see browser manufacturers pointing their best efforts toward releasing better, more standards-compliant products. But, as with anything in life, time will tell. In the meantime, we must settle for using the currently available DOM proprietary methods, implemented in today’s browsers.

 

Over this second part, we’ll be illustrating some of the most common methods offered by popular browsers to manipulate event handlers using the DOM. Let’s start finding out more about how NS6+ and Mozilla manipulate event handlers.

 


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials