|

Detecting Javascript Compatibility
- Insert a noscript code second in line
- Older browsers will execute
- Newer will execute script code
- Versions
- Four versions of Javascript
- Java enabled
- Check navigator object
Browser Redirection
If-Else Statement
- Comparison Operators
- Conditional Branching Statements
You should be redirected to the appropriate page here
The following redirects according to a particular brower and version, and all others to a different page. Since Netscape 7.0 is the version that recognizes the most style properties, you will be redirected to a "non-css" page with a table, rather than the CSS enhanced page if you have an earlier version or any other browser. Try it out here
The pages are here. You should have been redirected to one of them:
[Explorer]
[Netscape]
[Opera]
[Other]
[Netscape7]
|