You can use javascript to find out the screen resolution then pass it back
to the server using a javascript imageload

e.g.

<SCRIPT>
contactServerobj=new Image; //Create a Server contact object through a gif
contactServerobj.src=("mypage.cfm?resolution="+DetectedResolution);
</SCRIPT>

DetectedResolution must contain the detected resolution but you can do that

Sometimes you need to have the following in mypage.cfm just to keep the
browser happy

Your cf code insert into db or whatever

<!--- Display a blank image so javascript is happy --->
<CFCONTENT TYPE="image/gif" reset="yes">
        <CFINCLUDE template="dummy.gif">
</CFIF>

Hope this helps

I use this method to allow multiple selects related doing live lookups on
the DB

Alex



-----Original Message-----
From: Justin MacCarthy [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 16:19
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] Logging Screen Resolution - howto?


Hi,
        Is it possible to log Screen Resolution without using JavaScript? Is using
javascript to write a cookie, and cf (or whatever) to read it to a log the
best way??

Cheers
Justin


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to