Hi, could someone give me a place to get the code to redirect 3.0 browser users to an alternate site for them - and do you have to call the index page something else instead of what you called the 4.0 version?
Thanks for any help!
Try this....
<script language="javascript">
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) browserVer = "1";
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) browserVer = "1";
else browserVer = "2";
if (browserVer == 2) {
// .... your redirect code here...
}
</script>
If that doesn't work for you, look at http://www.javascripts.com They have tons of redirects.
Richard
------------------
rperry@tioloco.com
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks