Forum Moderators: open
my full-screen page has two frames. I want to be able to close or shrink the window to normal (non-full-screen) via a link within one of the frames.
is this possible?
-dave-
I assume that you are opening the original frameset window with javascript, and that's how you know that it is "full screen". Correct?
If so, then the window isn't truly maximized but rather defined as the exact height and width of the screen. You can acess the parent window from a link within the frames by using (amazingly enough) the parent property.
onClick="parent.resizeTo(w,h);"
-or-
onClick="parent.resizeBy(w,h);"
There's no way I know of to mess with location or size of a maximized window -- or to truly maximize a window for that matter.