Click to See Complete Forum and Search --> : Newbie Question: How do I make my webpage start Maximized


chwhale
12-06-2002, 08:37 AM
I want my webpage to start up maximized, and I don't know how to do it. Any help appreciated! Thanks.

Zach Elfers
12-06-2002, 09:12 AM
<script language="JavaScript" type="text/JavaScript">

window.resizeTo(width, height);

</script>

That should resize the window to an absolute value, but as far as I know, there is no way of making the window maximized. The problem with this script is that people have different resolutions and this will appear different sizes to some people.

dstarr@nbnet.nb
12-08-2002, 07:05 AM
<script>
window.open("frame2.html","","fullscreen=yes,personal=no,scrolls=no");
</script>

you will have to spawn this from a seperate window, it will give you a ful window though

also have to have a document.close as it does not have any other way to exit except for atl+F4

Stefan
12-08-2002, 08:46 AM
Originally posted by chwhale
I want my webpage to start up maximized,

Just remember, anyone with 1280+ resolution will absolutely hate you for doing it.
Especially if you webpage only covers a small 600x400 area in the full screen window.

Good browsers rememberd the users prefered size for new windows automatically.