Menu
how can I redirect the user to a different page if they are using a MAC?
I tried this but it didn’t work:
[code=php]<script language=”javascript”>
mac = navigator.userAgent.indexOf(“mac”) > -1;
n = navigator.userAgent;
if(mac)if(n.indexOf(“mac.html”))
</script>
Any ideas?
Chris