Re: screen resolution
Arne Vajh?j wrote:
Roedy Green wrote:
Is there an easy way for the server to get the screen resolution of a
browser window?
You will need to have som JavaScript send something to the
server with the size.
I am not convinced that it is a good idea.
It should be mostly harmless as long as it really is based on the
window, not the whole screen.
I am typing this in a normal sized window on a 3840 by 1200 pixel
logical monitor that is two physical monitors placed side by side. Most
of the time, most of the screen space is occupied by Eclipse, a TeX
editor, or the Microsoft Visual Basic Editor. I use less than half of
one of the physical monitors for browsing, e-mail, etc.
Having something happen in a browser window based on the browser window
size should not cause much trouble. Having something happen in a browser
window based on the 3840 by 1200 screen size would be very bad.
At the other end, I could see problems with different behavior on an
iPhone because of its small screen size. Its user interface is very
effective for easy viewing of a normal web page. Sites that
automatically switch it to a crippled "mobile" web page are annoying.
Patricia