View Full Version : Redirect Script: Adding Users With Mac's

02-05-2004, 06:16 PM
I'm working on a DHTML Flash PNG transparency here's an example http://www.webpronews.com/0513.html (not my work)

I've got it all worked out except one issue and that's compatibility. To be on the safe side I'd like to allow users with a PC using Internet Explorer 5.5 and higher to see this effect. My goal is to redirect all others to another page.

The following script will redirect based upon browser version which is fantastic. The only outstanding issue is that I'm concerned with MAC IE users.
I'd like to redirect them to the non DHTML page as well.

Got any idea how to add that function to this script?

Here's the code I'm going to use...


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

//if NS 4+
if (browser_type=="Netscape"&&browser_version>=4)

//if IE 5+
else if (browser_type=="Microsoft Internet Explorer"&&browser_version>=5)

//Default goto page (NOT NS 4+ and NOT IE 5+)


Thanks in advance for your comments / thoughts
West Chester PA

02-06-2004, 12:38 AM
Tweak to your liking.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum