[Zope] Getting window dimensions from the request

Gary Speer gspeer@cortech.org
Wed, 27 Nov 2002 10:57:28 -0700


Is there any way to get either the window dimensions of the current browser
window and/or the resolution of the viewer's screen in order to calculate
and send graphics sized to best fit their view area of their browser?

If so, please provide both dtml and zpt syntax.

If not, any tricks other than having the user select a link matching their
screen resolution?  For example, if you set up a frameset with col=*,700,*
can you get back in the next request what the browser calculated as the *
value.

Many Thanks and Happy Thanksgiving,
Gary