Oleg Broytmann wrote:
On Fri, 8 Dec 2000, Stoonsdesign wrote:
Q: Is it posible to get the current users SCREEN-RESOLUTION (without using Javascript!)..?
You can't, and you don't need. Even if you get the resolution, you'd have hard times generating HTML for that resolution: HTML is very bad concerning strict screen positioninig. HTML is not "publishing".
I can imagine webpage which uses some Javascript to append information about resolution to the request as some parameter. Then you could use it, but it does not make too much sense. What if some people use your page through caching proxy, which serves it to a few guys without refetching it (yes, you can forbid caching). What if someone dynamically changes resolution (as I do with Ctrl-Alt-+ working on my XWindows Linux)? What if the client disables JavaScript?