Maximize window on initial page load

How can I get the browser window to maximize on initial page load?  Just to be clear, I mean specifically the kind of maximize that happens when you press the maximize button on the upper right hand corner of the browser window...not the "as big as possible" in the intermediate state between maximize and minimize (there's a difference of at least 1 pixel in size...)

Hope that's clear enough.

Any guidance on this would be appreciated.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pravin AsarPrincipal Systems EngineerCommented:
You can not resize the window unless it is opened by javascript () ?

If it is opened by javascript at the time of opening you supply fullScreen

e.g. ("", "new", "fullscreen,status=no");

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Unfortunately, you can not maximize a window unless you open it through - as said pravinasar.
But you can resize it though (even if you seem not to want this solution).

Here, the window resize to width and height of screen, and move to upper left corner of screen:


Though, that's not a maximize mode, as you stated.

But that's all you can do with a window already opened.
codequestAuthor Commented:
Thanks for your input.  I have no reason to doubt that, though I might let this ride a bit and see if anyone else wants to weigh in....

perhaps if you could confirm that the answer below is not the same as "maximize button press by user"  and does not apply here...

<body onLoad="if (document.all || document.layers) { self.moveTo(0,0); self.resizeTo(screen.availWidth,screen.availHeight)">


codequestAuthor Commented:
smcarri:  thanks for input.  I didn't see yours before my second post.  With a confirming opinion, I'm going to go with pravinasar's answer, and give you an assist.

pravinsar:  thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.