Browser detect & redirect scripts
 

SimplytheBest
Scripts

ASP scripts
PERL scripts
PHP scripts
JavaScripts & Ajax
Snippets
Online scripts

Ajax, DHTML
& JavaScripts

Animation
Background
Bookmarks
Buttons
Calculators
Cookies
Data handling
E-mail
Enhancements
Forms
Image rotation
Menus
Messages
Miscellaneous
Music
Password protection
Redirection
Scrollers
Tables
Time & date
Windows

Publishers
Add script
Account login
Publisher list



 

Home > Scripts > DHTML scripts & JavaScripts > Redirection > Browser detect & redirect

 

Browser detect & redirect scripts

AUTHOR: Open source
TYPE: Free
BROWSERS: IE 4+, IE 5+, IE 6+, NS 4+, Other

The first script will redirect to the appropriate page after detecting for IE4+ or NS4+ else it will default to the page you've made for any browser. The second script will redirect after detecting for IE or NS (no version check) else will default to the page for any browser. The third redirect tag will redirect after the designated time.



BROWSER DETECT AND REDIRECT

1) Insert the following script between the </HEAD> and <BODY> tag. Modify the urls to match your redirect pages.

then copy (CTRL-C) & paste (CTRL-V)


BROWSER DETECT AND REDIRECT SIMPLIFIED

1) For a simple redirect of your page, paste following script inside the <HEAD> section of your page.

then copy (CTRL-C) & paste (CTRL-V)


SCREEN SIZE REDIRECT

1) To redirect visitors based on their screen size, paste following script inside the <HEAD> section of your page.

then copy (CTRL-C) & paste (CTRL-V)


SIMPLE REDIRECT

1) For a simple redirect of your page, paste following tag inside the <HEAD> section of your page.

then copy (CTRL-C) & paste (CTRL-V)

The value "5" represents the amount of seconds you wish to wait before redirecting. URL is the url you wish to jump to.


[BACK] [TOP]

 


Copyright © 1997-2009 SimplytheBest Inc. Terms of Use and Legal Disclaimer.
All copyrights are acknowledged. All rights reserved.