|
 |
asp_web_howto thread: Detecting screen resolution
Message #1 by "F. Vicente Coronado" <vicente@m...> on Wed, 27 Dec 2000 09:39:59 +0100
|
|
Hi all..
Any1 knows how i can detect the client=B4s screen resolution in a ASP page.
Tried with Server variables but seems not to work. I need to change the
Scroll property of a frameset element if client=B4s resolution is <=3D
800x600.
Thx in advance.
___________________
Meytel Publicidad S.L.
Pelayo 80, 1- D
28004 Madrid
Espa=F1a
Tel. 34 91 319 72 72
Fax. 34 91 319 29 81
http://meytel.com
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #2 by Gregory_Griffiths@c... on Wed, 27 Dec 2000 12:45:48 +0000
|
|
You can't from the server side, but you can on the client side and then
send it to the server side as part of a data stream or form.
-----Original Message-----
From: vicente@m... [mailto:vicente@m...]
Sent: 27 December 2000 20:50
To: asp_web_howto@p...
Subject: [asp_web_howto] Detecting screen resolution
Hi all..
Any1 knows how i can detect the client=B4s screen resolution in a ASP
page.
Tried with Server variables but seems not to work. I need to change
the
Scroll property of a frameset element if client=B4s resolution is <=3D
800x600.
Thx in advance.
___________________
Meytel Publicidad S.L.
Pelayo 80, 1- D
28004 Madrid
Espa=F1a
Tel. 34 91 319 72 72
Fax. 34 91 319 29 81
http://meytel.com
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #3 by "Julio de la Cruz" <delacru2@h...> on Thu, 28 Dec 2000 10:04:55 -0400
|
|
What I use to detect creen settings
if (window.screen){
var w=screen.width
if (w<=640) {
self.location.replace('screensetings.htm')}
else if (w<=800) { }
else if (w<=1024) {
self.location.replace('screensetings.htm')}
else {
self.location.replace('screensetings.htm')}
}
javascript will do for that.
Good Luck
Julio
>From: "F. Vicente Coronado" <vicente@m...>
>Reply-To: "ASP Web HowTo" <asp_web_howto@p...>
>To: "ASP Web HowTo" <asp_web_howto@p...>
>Subject: [asp_web_howto] Detecting screen resolution
>Date: Wed, 27 Dec 2000 12:50:17 -0800
>
>Hi all..
>Any1 knows how i can detect the client=B4s screen resolution in a ASP
>page.
>
>Tried with Server variables but seems not to work. I need to change the
>Scroll property of a frameset element if client=B4s resolution is <=3D
> 800x600.
>
>Thx in advance.
>___________________
>Meytel Publicidad S.L.
>
> Pelayo 80, 1- D
> 28004 Madrid
> Espa=F1a
> Tel. 34 91 319 72 72
> Fax. 34 91 319 29 81
>
>http://meytel.com
>
>
>
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
|
|
 |