• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 22. Introduction to JavaScript > Browser Compatibility

22.4. Browser Compatibility

As noted earlier, varying levels of JavaScript support have been built into browsers since Netscape 2.0. The following table, by Nick Heinle, shows which browsers support which JavaScript objects. For an online version of the table, see http://webcoder.com/reference/2/index.html.

JavaScript Features Nav 2 Nav 3 Nav 4 IE 3 IE 4
Applets No Yes Yes Yes[1] Yes[1]
Areas No Yes Yes No Yes
Array No Yes Yes Yes Yes
CSS No No Yes[3] No Yes
Cookie Yes Yes Yes Yes[4] Yes
Date Yes Yes Yes Yes Yes
Event No No Yes[5] No Yes[5]
External scripts No Yes Yes No[7] Yes
Forms Yes[8] Yes Yes Yes[4] [8] Yes
Frames Yes Yes Yes Yes Yes
History Yes Yes Yes Yes[4] Yes
Images No Yes Yes No[12] Yes
JavaEnabled No Yes Yes No Yes
Links Yes Yes Yes Yes Yes
Location Yes[13] Yes Yes Yes[4] [13] Yes
Math Yes Yes Yes Yes Yes
Navigator Yes Yes Yes Yes Yes
MimeTypes No Yes Yes No No
Options No Yes Yes No No
String Yes Yes Yes Yes Yes
Window Yes[16],[17] Yes[17] Yes Yes[4] [16] [17] Yes[17]
Write Yes[4] Yes[4] Yes Yes Yes


[1] Allows access to ActiveX too, but no Java API calls.

[3] Navigator only allows predisplay control, except with positioning.

[4] Implementation is buggy or incomplete: see the bugs table at http://webcoder.com/reference/2/index.html.

[5] The event model is improved, but it's different in IE and Navigator.

[7] External scripts are supported in IE 3.01, but not 3.0.

[8] No support for reset().

[12] IE3 for the Mac supports the image object.

[13] No support for replace().

[16] No support for scroll(), focus(), or blur().

[17] No support for moveTo(), moveBy(), resizeTo(), or resizeBy().


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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