function window_onload() {
this.moveTo(0,0)
this,resizeTo(screen.availWidth,screen.availHeight)
this.outerWidth = screen.availWidth
this.outerHeight = screen.availHeight
}
does this help?
-----Original Message-----
From: duToit_Jacques@y... [mailto:duToit_Jacques@y...]
Sent: Thursday, May 16, 2002 10:25 AM
To: javascript
Subject: [javascript] can you maximize the browser ?
I can set it to an appropriate screen dimension or make it full screen,
but cannot find anything on maximizing the browser window in JavaScript.
It should have the same effect as clicking the button in top right-hand
corner. - Any ideas ?
---
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