Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Desktop resolution


Message #1 by "Nabi" <nabi@c...> on Mon, 16 Sep 2002 10:38:50 +0500
No, you can't change a visitor's screen resolution.   JavaScript has no
access to anything outside the browser for security purposes.

Even if you could, what if their video setup didn't support a higher
resolution?  You'd crap their system!  What if they had high resolution but
had the browser in a non-maximized window smaller than you want?

People can figure out if your display is too big for their browser window
and adjust accordingly if they're interested enough in your content to go to
the trouble.  If you're working on an internal app where you can
specify/require a standard user environment including high screen resolution
then do so.

Greg



-----Original Message-----
From: Awdhil [mailto:Awdhil@g...]
Sent: Monday, September 16, 2002 8:20 AM
To: javascript
Subject: [javascript] Desktop Resolution


Hi ppl:
    We can get the size 'YES', but can we set it.
Any person opening the site should have his size altered if it is less
than the prescribed one.

ciao

Syed Awdhil Ahmed
September 12, 2002



---

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



  Return to Index