Home
Developer Blog
Ajax effects
CSS examples
Freelance jobs
Hot IT Jobs
Hot scripts
Code samples
Web hosting directory
Lotus Notes FAQ
See the new scripts recently added to Dynamic Drive.
Click here
.
Original, practical
CSS codes and examples
such as CSS menus for your site.
Search code samples
Keyword
All Categories
ASP
CSS
Dhtml
Html
Javascript
PHP
Code Samples
ASP
CSS
Dhtml
Html
Javascript
PHP
LOGIN HERE
Username
Password
Signup Now
Forgot Password
Verify Signup
ASP >> General
How can i get the screen resolution of the client-computer?
Visitor Ratings (1) :
Description
You can get the server variable in ASP by using this line:
response.write(request.servervariables("http_ua_pixels"))
That will display the users screen resolution on their screen. Netscape Browsers do not like this, however, and they will not return the environmental variable needed.
Code
Select All
response.write(request.servervariables("http_ua_pixels"))
Rate this Resource
0
1
2
3
4
5
6
7
8
9
10