maximize window

sorry about that last blank post, i'm a dumbass...

i'm looking for a javascipt that will allow me to maximize the window...

something along the lines of

[code]document.maximize[/code]

that previous segment doesn't auctually work but i want something like that, that does work
currently i'm using the following script, but this doesn't auctually maximize the window it just resizes the document to fit the maximum specifications of the screen.

[code]
top.window.moveTo(0,0);

if (document.all)
{top.window.resizeTo(screen.availWidth,screen.availHeight);}
else if (document.layers||document.getElementById)
{if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
{top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;}
}
[/code]

thanx in advance
-undertow

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories