Netscape 6, Part IV: DOM Differences and Commonalities with IE5.x : A Final Word - Doc JavaScript
Netscape 6, Part IV: DOM Differences and Commonalities with IE5.x
A Final Word
In this column we continued our look at scripting Netscape 6. We went over a number of differences between Internet Explorer's and Netscape 6's DOMs. The duality of the
document
anddocumentElement
node is really a problem. We showed you which properties are supported by each browser for these nodes. We demonstrated how to use the lower root node,documentElement
, as well as theinnerHTML
property, browser-independently. The ownership relationship is really missing in Internet Explorer. We gave you a few examples that use this property. We also showed how to remove and add attributes, and how to create document fragment. We reiterated how to access elements in Netscape 6.In this column, you have learned:
- How to distinguish between the two root nodes
- How to use the lower root node, browser-independently
- How to use the ownership relationship
- How to reference objects in Netscape 6
- How to create and remove attributes on the fly
- How to create document fragments
- How to use the
innerHTML
property, browser-independentlyFurther Reading
- W3C DOM
- HTML 4+
- The Web Standards Project
- Netscape Standards Challenge
- The DOM, Part I: Analysis
- The DOM, Part II: Synthesis
- The DOM, Part III: Bugs & Self Correcting Models
- The DOM, Part IV: Document Manipulation
- The DOM, Part V: More Methods
- A DOM-Based Sliding Puzzle
- A DOM-Based Snakes Game, Part I
- A DOM-Based Snakes Game, Part II
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: January 15, 2001
Revised: January 15, 2001
URL: https://www.webreference.com/js/column75/9.html