browser redirect for older browser versions

Welcome to the World of JavaScript!

What the code is saying to you: if the browser name is Netscape and it is version 3 or greater, OR if the browser name is Microsoft Internet Explorer and the version is 4 or greater, then we will assign the variable version as "a". Otherwise, it is going to be "b".

If the browser fits the variable "a", an alert will welcome the viewer to your page.

If the browser fits the variable "b", an alert will tell the viewer that their page may not be compatible with JavaScript.

Return to JavaScript Pop-Up Menu