This content has been marked as final.
Show 1 reply
-
1. Re: How to change the screen based on the Screen size or any other alternative
amitev Nov 24, 2011 10:46 AM (in response to kamal_khadka)You can get the screen resolution only with javascript and send it to the browser. The code would look something like this
<script type="text/javascript"> if ((screen.width<=800) && (screen.height<=600)) { window.location.replace('http://example.com/800-600-or-less'); } else { window.location.replace('http://example.com/greater-than-800-600'); } </script>