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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen Resolution and ActiveX Control In ASP Page

Status
Not open for further replies.

finny

Programmer
Nov 16, 2000
58
0
0
US
Hi All,
Not sure if this is the right forum but any help here or directed otherwise would be appreciated.

Bottom line is I have an ActiveX control in an ASP page. my clients using a res of 800x600 can't view the control properly. I will need to set the size of the control dynamically depending upon the res of the client's machine.

Could someone help me with determine the res on client's machine?

Thx...finny
 
Code:
alert(window.screen.width + ", " + window.screen.height);

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top