Browser redirect script- Developer's View

<html>

<head>

/*
Browser redirect Script- (c) Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use,
visit dynamicdrive.com
*/

var browser_type=navigator.appName
var browser_version=parseInt(navigator.appVersion)

//if NS 4+
if (browser_type=="Netscape"&&browser_version>=4)
window.location.replace("http://www.netscape.com")
//if IE 4+
else if (browser_type=="Microsoft Internet Explorer"&&browser_version>=4)
window.location.replace("http://microsoft.com")
//Default goto page (NOT NS 4+ and NOT IE 4+
else
window.location="http://geocities.com"
</script>

</head>

</html>


Please use the following image to link to Dynamic Drive. More images here.

Copyright © 1998-2004 Dynamic Drive. Read Terms Of Use here.