in reply to Re: Resolution
in thread Detecting web clients monitor resolution without javascript

Javascript is really the best way i've seen to do this. If you absolutely have to have the current browser dimensions, then there is a way I can see that you can do this.

What you would have to do is make the perl script display a page with the a subroutine which reloads the script, but passes the page dimensions. The script would then load the actual page. To handle browser resizing, you would then have the page reload itself everytime the browser was resized (using the onresize javascript function i.e. <BODY onresize="onResize();"> ) Your javascript function just needs to feed the new size details back to the perl script.

Hope that makes sense - not elegant, but it would be a way of doing it.