New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Other Sections
Sweet Ads
Bookmark online:

FF1+ IE5+ Opr7+

Browser redirect Script

Author: Dynamic Drive

Description: This is a DHTML redirect script that sends your visitors to four different pages, depending on whether she is using NS 4, NS6+, IE 4+, or none of the above. It's a fool-proof way to ensure that only the intended browser gets to see and run a browser-specific DHTML script.


Directions: Developer's View

Create a blank page, and add the following code to the <head> section of it:

Select All

This blank page will act as the browser redirector. Change the destinations inside the script from,, and to others, depending on whether the user is using NS 4, NS 6+, IE 4, or none of the above, respectively.