File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Windows/Mac screen resolution change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Windows/Mac screen resolution change" Watch "Windows/Mac screen resolution change" New topic

Windows/Mac screen resolution change

Srinivasa Kadiyala
Ranch Hand

Joined: Jun 10, 2004
Posts: 237
How can I detect and change the users screen resolution to 1024*768 ?

Shankar Narayana
Ranch Hand

Joined: Jan 08, 2003
Posts: 134

You can detect the screen resoultion with javacript methods

but you cannot change the screen resolution, if you were able to do that, then you would be giving javascript unacceptable access to the client machine.

"Failure is not when you fall down; its only when you fail to get up again."
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63869

Moving to the HTML/Javascript forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Windows/Mac screen resolution change
jQuery in Action, 3rd edition