Apache Derby: Developing Perl Applications
OSCON 2005
August 2nd, 2005. Portland, Oregon
Dan Scott <dan@coffeecode.net>
/* A bit of fancy footwork to get the browser's inside dimensions in pixels. Should work on both NS4+ and IE4+. If it doesn't we default it to something sane. The dimensions are returned to the server via a Javascript cookie so as to not muck up our nice clean URL. The function is called if we don't have the dimensions already, or on a resize event to fetch the new window dimensions. */?>