Aug 2, 2001 #1 cf2001 Programmer Apr 3, 2001 10 US Is there a way to capture a user's browser screen setting?
Aug 2, 2001 1 #2 sknyppy Programmer May 14, 1999 137 US You can use javascript, I use the following to help center popup windows. <SCRIPT LANGUAGE="JavaScript"> function GetScreenSize(){ var iMyWidth; var iMyHeight; iMyWidth = (window.screen.width/2) - (122 + 10); iMyHeight = (window.screen.height/2) - (27 + 50); } </SCRIPT> ~Dave Upvote 0 Downvote
You can use javascript, I use the following to help center popup windows. <SCRIPT LANGUAGE="JavaScript"> function GetScreenSize(){ var iMyWidth; var iMyHeight; iMyWidth = (window.screen.width/2) - (122 + 10); iMyHeight = (window.screen.height/2) - (27 + 50); } </SCRIPT> ~Dave
Aug 3, 2001 1 Thread starter #3 cf2001 Programmer Apr 3, 2001 10 US Hi, Dave, Can I, then, capture these variables (iMyWidth & iMyHeight) in my CF app via a cfset? Thanks. Upvote 0 Downvote
Hi, Dave, Can I, then, capture these variables (iMyWidth & iMyHeight) in my CF app via a cfset? Thanks.