|
 |
asp_web_howto thread: Screen Width & Height
Message #1 by "Chris R. Thompson" <cthompson@n...> on Thu, 11 Apr 2002 09:34:35 -0600
|
|
How do I get the screen width in pixels. Basically, the resolution. I
have an IFRAME tag on my screen and I am not sure if I can do this,
butThere is a menu to the left of the IFRAME window. The menu can vary
in widths. I'd like the IFRAME to adjust itself dynamically by testing
where it's left pixel point is and adjusting the width accordingly
Thanks,
Chris Thompson
Message #2 by "Hema R." <hema.r@s...> on Fri, 12 Apr 2002 09:58:40 +0530
|
|
Hi,
Basically if its only the client's resolution that
you want then "screen.width" and "screen.height"
in javascript should do the job.
regards
Hema
> -----Original Message-----
> From: Chris R. Thompson [SMTP:cthompson@n...]
> Sent: Thursday, April 11, 2002 9:05 PM
> To: ASP Web HowTo
> Subject: [asp_web_howto] Screen Width & Height
>
> How do I get the screen width in pixels. Basically, the resolution. I
> have an IFRAME tag on my screen and I am not sure if I can do this,
> butThere is a menu to the left of the IFRAME window. The menu can vary
> in widths. I'd like the IFRAME to adjust itself dynamically by testing
> where it's left pixel point is and adjusting the width accordingly
>
>
> Thanks,
>
> Chris Thompson
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************
|
|
 |