Forum Moderators: open
In mdi mode, a js maximize just takes the current page out to the max deminsions of the main Opera window. It doesn't resize the main overall Opera parent window.
In sdi mode, a js max acts just as it does in ie/nn.
SDI mode also has "tabs" where you can open multiple pages in the main window too (confusing, but awesome choices). But those "tabbed" windows are always the same size as the main window just like ie/nn/moz.
>who is popping what up behind me
Opera 6 has a popup stopper :-)
>i surf with my browser the size I want- which is never maximized
The reason it's there is because an increasing number of portals and link pages are pushing websites into small boxes where they can advertise around the borders, distorting the presentation. This script works instantly to over-ride that, but does not change the size of the window.
Thanks for your input
I'd suggest not using JavaScript... after all it doesn't do you a lot of good with people that don't have it enabled.
Instead, just add target="_top" to your links:
<a href="" target="_top">
That will break even the most ingenious of frames :-)
Actually, I am doing both and with JavaScript since less than 3% of my traffic has it dissabled.
I use this for breaking frames:
if (parent.frames.length > 0) {
parent.location.href = location.href; }
And this for over-riding those portal boxes:
self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);
But if your browser window is minimized, it will not change that. I think this is friendly.