O'Reilly logo

Web Design in a Nutshell by Jennifer Niederst

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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[a]

Yes[a]

Areas

No

Yes

Yes

No

Yes

Array

No

Yes

Yes

Yes

Yes

CSS

No

No

Yes[b]

No

Yes

Cookie

Yes

Yes

Yes

Yes[c]

Yes

Date

Yes

Yes

Yes

Yes

Yes

Event

No

No

Yes[d]

No

Yes[d]

External scripts

No

Yes

Yes

No[e]

Yes

Forms

Yes[f]

Yes

Yes

Yes[c] [f]

Yes

Frames

Yes

Yes

Yes

Yes

Yes

History

Yes

Yes

Yes

Yes[c]

Yes

Images

No

Yes

Yes

No[g]

Yes

JavaEnabled

No

Yes

Yes

No

Yes

Links

Yes

Yes

Yes

Yes

Yes

Location

Yes[h]

Yes

Yes

Yes[c] [h]

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[i],[j]

Yes[j]

Yes

Yes[c] [i] [j]

Yes[j]

Write

Yes[c]

Yes[c]

Yes

Yes

Yes

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

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

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

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

[e] External scripts are supported ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required