Hi, I am using this code at the entrance of a website, It works fine for Windows machines, but not for MAc users. Can anyone help? Thanks
<!– Begin
function redirectPage() {
var url800x600 = “
var url1024x768 = “
if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else window.location.href= url640x480;
}
// End –>
</script>
<title>Fitzgerald Menswear</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
</head>
<body bgcolor=”#CCCCFF”>
<center>
<img src=”images/banner2.gif” width=”761″ height=”78″>
<form>
<input type=button value=”Enter!” onClick=”redirectPage()”>
</form>
</center>
<div align=”center”></div>
</body>
</html>