I have this script on top of one of my pages to detect if the user is on a Mac...
<script LANGUAGE="JavaSCRIPT">
function platformversion()
{
var ua = window.navigator.userAgent
var platform = ua.indexOf ("Mac"
if (platform = "Mac"
response.redirect("/personal/online/demos/default_popup.htm"
else // If another platform, return 0
return 0
}
platformversion()
</script>
This does not appear to work. Can anyone tell me where I'm going wrong?
Many Thanks!
<script LANGUAGE="JavaSCRIPT">
function platformversion()
{
var ua = window.navigator.userAgent
var platform = ua.indexOf ("Mac"
if (platform = "Mac"
response.redirect("/personal/online/demos/default_popup.htm"
else // If another platform, return 0
return 0
}
platformversion()
</script>
This does not appear to work. Can anyone tell me where I'm going wrong?
Many Thanks!