Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old October 13th, 2004, 02:17 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default screen resolution

Hi there

Does anyone know an asp script that will detect the users screen resolution? I need to get the height and width values of the screen and pass them in the querystring.

thanks alot

Adam

  #2 (permalink)  
Old October 13th, 2004, 04:59 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Mentiri, Muara, Brunei.
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default


 In ASP??????

Its possible using client side script.

screen.width x screen.height


----------
Rajani

  #3 (permalink)  
Old October 13th, 2004, 05:04 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

Hi Rajani

I guess javascript would do it?

  #4 (permalink)  
Old October 13th, 2004, 09:13 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Adam H-W

;;I guess javascript would do it

You guess rite - I believe there is no way to do this on the server side since we are 'needing a variable from the clients machine'

There is many many scripts out there for this. Google will reveal all, complete cut n paste code.

Wind is your friend
Matt


Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Resolution ajeesh_online C# 1 June 14th, 2006 12:37 AM
screen resolution miguel.ossa C# 2 October 9th, 2004 11:58 PM
Re sizing according to screen resolution rsamanthif VB How-To 2 August 22nd, 2004 01:24 PM
screen resolution mistry_bhavin Pro VB.NET 2002/2003 0 March 13th, 2004 02:36 PM
How to detect screen resolution pb_user Classic ASP Basics 1 August 24th, 2003 01:52 AM





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