[ale] Screen Size
David Tomaschik
ozone at webgroup.org
Mon Jul 30 11:16:14 EDT 2007
Terry Bailey wrote:
> Hi,
>
> Thanks for the tips.
>
> In JavaScript,
>
> screen.availWidth
>
> will find the width of the screen.
>
> Is there a way to do this in Perl?
>
> I could use a JavaScript function, say findit, to do this but then I
> don't know how to return the calculated value back to Perl.
>
> Thanks,
>
> Terry Bailey
Because the Perl would be running on the server, it has no way of
finding the client's screen width natively. Only by using JS to pass it
to the perl script (as a GET variable, most likely) would the perl
script be aware of this.
More information about the Ale
mailing list