Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 22nd, 2003, 07:13 AM
Registered User
 
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to detect screen resolution

I am sure there is a way to know the screen resolution (640x480, 800x600, 1024x768 etc) that the client is running, but I did not find it.

Thanks for your help
 
Old August 24th, 2003, 01:52 AM
Authorized User
 
Join Date: Jun 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to planeswalk
Default

Hi,

You can use Javascript to determine the user's screen resolution.

<SCRIPT LANGUAGE= "JavaScript">
<!--
document.write("screen height is " + screen.height + " pixels.<br>");
document.write("screen height is " + screen.width + " pixels.<br>");
//-->
</SCRIPT>

Cheers!


Marlon Villarama
Support Team
Web Burner Hosting
[email protected]
www.webburner.com
Toll-Free: 877-535-2876





Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Resolution ajeesh_online C# 1 June 14th, 2006 12:37 AM
JavaScript detect screen resolution crmpicco Javascript How-To 1 September 19th, 2005 06:07 AM
screen resolution Adam H-W Classic ASP Basics 3 October 13th, 2004 09:13 PM
Detect Resolution anshul Pro PHP 3 April 7th, 2004 05:16 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.