MozillaZine

Netscape 6 Released

Tuesday November 14th, 2000

Netscape 6 has been released. You can download the installer here.


#93 W3C DOM

by rdc

Wednesday November 15th, 2000 6:21 AM

You are replying to this message

IE and Mozilla/NS support just about the same functionality in Javascript. IE calls it Javascript 1.2 and Mozilla calls it Javascript 1.5.

If you are concerned about the DHTML and that stuff the situation is different. Mozilla is based upon the W3C DOM for the Core and HTML. It supports most of the Level 1 Recommendation and a good deal of the Level 2. You can find the API documentation at <http://www.w3.org.>

IE's support is different however. Their implementation of the DOM Core and HTML is separate. The DOM Core is implemented in a separate ActiveX control MSXML (see msdn online) and is at the most DOM Core Level 1. The DOM HTML is integral to the browser and supports some of the DOM HTML Level 1.

Mozilla does support some IE'isms such as innerHTML and also provides IE-like implementations of XMLHttpRequest, SOAP, etc. See <http://www.mozilla.org/xmlextras/> for more detail.

The major difference in 'DHTML' support is that Mozilla uses the DOM Events Level 2/3 Recommendation for Events rather than the old Communicator stuff. IE doesn't support the DOM Events but it can be handled with a middle level Event interface.

Both browsers support the old style on<event>=handler() stuff.

Hope that helps.