jQuery in Action, 2nd edition
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 Badass: Making Users Awesome this week in the Game Development 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: 62269

Moving to the HTML/Javascript forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Windows/Mac screen resolution change