Screen.width
And
Screen.height
E.G.
<A HREF="javascript:alert('Your resolution is
'+screen.width+'x'+screen.height);">
Click for your screen resolution</A>
--
Russ
-----Original Message-----
From: T Burke [mailto:[EMAIL PROTECTED]
Sent: 08 October 2006 21:45
To: CF-Talk
Subject: CF - Javascript Monitor Resolution help
This may be OT and if it is, I'll gladly move it to another group.
I need to be able to determine (via javascript) preferably the user's
monitor resolution.
I have a client who wishes to have a FLASH animation that fills the browser
banner area as much as possible so that a user on with a setting of 1024
wide doesn't have excessive whitespace around an 760 pixel wide banner.
I have looked around at several javascripts scripts that can do this but...
1) I admit my complete inadequacy in javascript (I can read it and butch it
up) and
2) I can't seem to do a decent job of getting my javascript to send a
variable value BACK to my CFMX7 page.
Any help? Oh, and I am tossing in some cash for the help (hence why this may
be an OT / Job )! If there is an elegant way of even doing it in Flash,
that is an option as well....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255931
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4