Maximized Site Windows!

<:} Hiya peoples and peeps. Usually flash sites will have a html page telling certain requirments you need. Such as 2advanced. 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
(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??? (-:

use this link:
http://www.kirupa.com/developer/mx/centered_popup.htm

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

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

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

but it won’t be maximized maximized.

: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?

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 :frowning:

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.

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

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.


<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.

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

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:

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