> -----Original Message-----
> From: T Burke [mailto:[EMAIL PROTECTED]
> Sent: Sunday, October 08, 2006 4:45 PM
> 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.

Here's an old article (I wrote it 2000) but it still seems to do the trick:

http://www.depressedpress.com/Content/Development/ColdFusion/Articles/GetRes
/Index.cfm

Explains how to get the resolution and send it back to CF using a phony
pixel graphic on the page.

Jim Davis



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:255936
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to