<SCRIPT language="JavaScript" type="text/javascript">
function getscreen(width,height) {
document.write('<form name=form1 action=index2.cfm method=post>');
document.write('<input type=hidden name=width value=' + width + '>');
document.write('<input type=hidden name=height value=' + height + '>');
document.write('</form>');
document.form1.submit();
}
</SCRIPT>
<body onload="getscreen(screen.width,screen.height);">
Jeff Garza
Web Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200
[EMAIL PROTECTED]
http://www.spectrumastro.com
-----Original Message-----
From: Phill Gibson [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 4:06 PM
To: CF-Talk
Subject: Screen Resolution with CF?
Hi everyone,
Does anyone know of a CF way to determine the users screen resolution? I
know about using JS to produce something like:
document.write("Your screen resolution is
"+screen.width+" X "+screen.height+".")
but am looking for a way to obtain those numbers for use by CF while still
on the server-side.
Thanks for any help!
Phill Gibson
Velawebs Web Designs
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists