![]() |
Screenresolution
Is there any way of getting the screenresolution of the person who views the website?
|
Javascript
Code:
width = screen.width |
Quote:
|
Thanks guys!
Is there any way of doing this with PHP(in case they have JS disabled)? |
Quote:
|
Damn, well okay. Most people use 960px width, so I guess I use that as a standard. And then run a check with JS to see if they got higher resolution, and then just change it to wider if they got wider. If they don't have JS it will be 960px wide, which is the usual resolution.
Thanks! Btw, this is something for you PHP guys to develop! Mostly thinking about Karl here who can propose this to the PHP team. |
Quote:
Quote:
|
| All times are GMT. The time now is 08:13 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0