Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browser Setting 2

Status
Not open for further replies.

cf2001

Programmer
Apr 3, 2001
10
US
Is there a way to capture a user's browser screen setting?
 
You can use javascript, I use the following to help center popup windows.

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
function GetScreenSize(){
var iMyWidth;
var iMyHeight;
iMyWidth = (window.screen.width/2) - (122 + 10);
iMyHeight = (window.screen.height/2) - (27 + 50);
}
</SCRIPT>

~Dave
 
Hi, Dave,

Can I, then, capture these variables (iMyWidth & iMyHeight) in my CF app via a cfset?

Thanks.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top