PDA

Click to See Complete Forum and Search --> : HELP!


Xenonic_Rob
Sep 24th, 2000, 06:39 AM
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

websurfer907
Sep 24th, 2000, 07:31 AM
<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.