-
Is there any way to assess which platform and browser a user is on and then automatically direct them to a movie suitable for that platform?
Would be very grateful if anyone can point me in the right direction
Cheers
-
This javascript will redirect your browser to a different page (Macpage.html or PCpage.html):
<script language="JavaScript">
<!-- Platform Redirect Script -->
<!-- Start Hiding //
var isMac = (navigator.appVersion.indexOf("Mac") != -1) ? true : false;
if(isMac) {window.location = "Macpage.html";}
else {window.location = "PCpage.html";}
// End Hiding -->
</script>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|