[San-Diego-pm] Question
Joel Fentin
joel at fentin.com
Mon Oct 20 19:26:51 PDT 2008
The following is within a perl program on the server. My goal is to know
the width of the surfer's screen so that I can make adjustments.
my ($SWW);
print qq|
<script language="JavaScript">
var SW = screen.width;
alert(SW);
</script>|;
# $SWW = SW;
===========================
How do you get the javascript value into a perl variable?
If SW is equal to 1280, how do I get that 1280 into $SWW?
--
Joel Fentin tel: 760-749-8863
Email: http://fentin.com/me/ContactMe.html
Biz Website: http://fentin.com
Personal Website: http://fentin.com/me
More information about the San-Diego-pm
mailing list