|
Script Introduction
This script sends the viewer to the right page depending on the type of browser being used. If the
browser is NS or IE, version 4 or better, the viewer is taken to a page for version 4 browsers.
Otherwise, the viewer goes to a page for lower version browsers.
Cut and Paste Code: HEAD Section
This code should be placed between the <head> and </head> tags.
Installation Instructions
-
Paste the HEAD Section code from above between the <head> and </head> tags on your page.
-
Find the matching lines below in the script and change the text in red to
the text you wish to use:
window.location="http://someplace.com/ver4.html";
window.location="http://someplace.com/other.html";
-
Check the Format Window
to be sure you do not have one single line of code, or too many line breaks in the code.
Example
A working sample of the script is shown below.
Click the link to open a new page and test the script.
Example Link
|