Overview: In this article we will discuss how to get the users screen resolution.
It's really simple I will show you the code
screen.width; //gives you the screen width
screen.height; //gives you the screen height
| ||Editor: PHPbuddy also uses the same kind of code to send optimized content for different resolutions if you are at 800*600 or lower resolution set your resolution to 1024*768 and check PHPbuddy! (Be sure to reload the site after you change your resolution)|
| Terms of Service
(c) 2002 - 2019 PHPbuddy.com Unauthorized reproduction/replication of any part of this site is prohibited.