House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Interesting Problem !!

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi Guys,
MILAN MUSHRAN
05/19/04 09:09 A
> From: MILAN MUSHRAN
Philip Arnold
05/19/04 09:15 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
MILAN MUSHRAN
05/19/2004 09:09 AM

Hi Guys, I want to detect the resolution of the monitor and use thise values in CF ? How do i do that ? I believe I have to detect it using Javascript, and then based on those values, use CSS positioning on the pages. Is it possible to use Javascript values in CF OR is there any other solution to the "Monitor Resolution / CSS Positioning" problem. Thanks a lot, Milan

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Philip Arnold
05/19/2004 09:15 AM

----- Excess quoted text cut - see Original Post for more ----- You have to remember one BIG thing first: JavaScript = Client Side ColdFusion = Server Side So, understanding that, your JS has to "pass" the information back to the server, this is usually done with some kind of push-page, so the JavaScript grabs the screen resolution, or browser settings, and then passes them in the URL or in a form to the server, where CF uses them in the creation of the page One BIG warning about just using the screen resolution is that more and more people have multiple screens now - for example, my "screen resolution" is 2560x1024 (2 screens at 1280x1024) Also, not everybody leaves their browsers maximized, so you'll have to take the browser size compared to the screen size... HTH

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
d.a.collie
05/19/2004 09:12 AM

>> I want to detect the resolution of the monitor and use thise values in CF ? >> How do i do that ? http://www.google.com/search?hl=en&ie=UTF-8&q=Resolution+of+monitor+usin g+Javascript -- dc


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference