|
-
Sep 24th, 2000, 06:39 AM
#1
Thread Starter
Addicted Member
Please help!
Can someone please post a javascript that will
Redirect someone to a different page if they are not using Internet Explorer 4 or above (also if they are using Netscape)
Also, is it possible to detect whether a user has the VB6 runtime files installed?
Thanks
-
Sep 24th, 2000, 07:31 AM
#2
New Member
<SCRIPT LANGUAGE="JavaScript">
if (navigator.appName.indexOf('Internet Explorer') != -1 && navigator.appVersion.substring(0,1) >= 4) {
location.href = 'IE4.html';
} else {
location.href = 'noIE4.html';
}
</SCRIPT>
havn't tested it but it should work.
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
|
Click Here to Expand Forum to Full Width
|