# Maximized Site Windows!

**URL:** <https://forum.kirupa.com/t/maximized-site-windows/27688>\
**Category:** flash\
**Created:** [August 5, 2003, 4:59pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688 "2003-08-05T16:59:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)\
**Post date:** [August 5, 2003, 4:59pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/1 "2003-08-05T16:59:00Z")

</div>

\<:} Hiya peoples and peeps. Usually flash sites will have a html page telling certain requirments you need. Such as [2advanced](http://www.2advanced.com/). Well, to enter that site, you have to press the ‘enter’ button. This brings up a new window which is the main flash site.

I was wondering…what html code do you have to put in ur html page for that button to open a MAXIMIZED window?

I want the main site to be maximized and unresizable.

The current code I have right now is :

center a href="[http://www.geocities.com/snk821/whatevername](http://www.geocities.com/snk821/whatevername)  
(I took off the \< and the \>'s cause I wanted to show the code)

What should I put in there to have the window maximized + unresizable as soon as it opens??? (-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 5:08pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/2 "2003-08-05T17:08:48Z")

</div>

use this link:  
[http://www.kirupa.com/developer/mx/centered\_popup.htm](http://www.kirupa.com/developer/mx/centered_popup.htm)

it’s a different approach (from flash) but the code is the same.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 5:10pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/3 "2003-08-05T17:10:52Z")

</div>

Ok that code has the resizable option in it…but no maximize.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 5:15pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/4 "2003-08-05T17:15:28Z")

</div>

um, you can use win.resize(Screen.availWidth, Screen.availHeight);

but it won’t be _maximized_ maximized.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 5:18pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/5 "2003-08-05T17:18:45Z")

</div>

:battery: I’m not saying like fullscreen, i’m saying the 2nd button out of the three (minimize, max, close).

BTW, what do you mean, it wont maximize maximize?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 5:22pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/6 "2003-08-05T17:22:21Z")

</div>

what i meant was that it won’t be the same maximized when you click the second button at the top, but it will be the size of the screen.

and as for maximizing it like hitting the button, i’m not too sure.

sorry ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 5:24pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/7 "2003-08-05T17:24:41Z")

</div>

Well, size being the size of the screen changes the size of everything…which is definetly not what I want.

But thanks anyways for trying to help.

Hope freddythunder or someone knows how.

I’m gonna go search on google if no one knows it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 7:04pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/8 "2003-08-05T19:04:51Z")

</div>

[http://www.hylansupply.com](http://www.hylansupply.com)

copy my javascript, although i have a lot of unnesesary (god i can’t spell lol) code as LIB pointed out. if not do a search for javascript windows from Lostinbeta.

regards

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 11:11pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/9 "2003-08-05T23:11:00Z")

</div>

What the???

thoriphes and Digitalosophy are using the right script. It needs to be javascript because there is no HTML code to maximize a window. As a matter of fact, there is no code to maximize a window with javascript either - but there is a way to cheat. I use it all the time and got if from Digitalosophy (what up dude!?).

Very important for it to work. The script we’re giving you (either one, mine or thor’s) needs to be in the HTML of the window you are **opening** NOT the one that has the ‘a href’ link. What this script does: it tells the new window to resize itself to the size of the screen it is currently on (because some are 800x600, some are 1026x768, etc. etc).

This script also needs to be inbetween the \< **HEAD\> tag and the \<** /HEAD\> tag.

```php

<SCRIPT language="JavaScript">
self.moveTo(0,0);
//this line moves the window to the top left corner
self.resizeTo(screen.availWidth,screen.availHeight);
//this line resizes it
</SCRIPT>

```

That should do it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 11:23pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/10 "2003-08-05T23:23:31Z")

</div>

Am I a “people” or a “peeps”??? How do I know? :whistle:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 11:41pm UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/11 "2003-08-05T23:41:25Z")

</div>

Come’on dexa - peeps are those marshmellow bunnies that you eat during Easter time. They come in pink and yellow. I don’t think you’re a marshmellow bunny, are you?! :crazy:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 6, 2003, 12:40am UTC](https://forum.kirupa.com/t/maximized-site-windows/27688/12 "2003-08-06T00:40:26Z")

</div>

Well gosh, I guess it’s all clear then. :bu: Hmm, how many peeps we got flashin’ then?! :hangover:
