Determining screen resolution
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngclient' list.


Irene Reid
-- Moved from [aspngfreeforall] to [aspngclient] by mrpike <Click here to reveal e-mail address> --

Does anyone know if its possible to determine screen resolution when an asp
page is actioned. Some of the PCs in use in the office are quite elderly
and when the nice forms I have put together go up they are enormous. If I
change the font etc to suit them, they become tiny on High spec screens.

If I could determine the resolution, I could change the font size
programatically.

thanks

Irene

Reply to this message...
 
    
Matt Serdar
<script>
var w = window.screen.availWidth
var h = window.screen.availHeight
alert('width = ' + w + '\nheight = ' + h)
</script>

matt

-----Original Message-----
From: Irene Reid [mailto:Click here to reveal e-mail address]
Sent: Monday, August 05, 2002 2:37 AM
To: aspngclient
Subject: [aspngclient] Determining screen resolution

-- Moved from [aspngfreeforall] to [aspngclient] by mrpike
<Click here to reveal e-mail address> --

Does anyone know if its possible to determine screen resolution when an asp
page is actioned. Some of the PCs in use in the office are quite elderly
and when the nice forms I have put together go up they are enormous. If I
change the font etc to suit them, they become tiny on High spec screens.

If I could determine the resolution, I could change the font size
programatically.

thanks

Irene
| [aspngclient] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngclient.asp = JOIN/QUIT

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com