Johannes,
thanks.. your code works..
I was using window.document.focus()
Suresh
-----Original Message-----
From: Johannes [mailto:johannes@b...]
Sent: Monday, January 28, 2002 11:04 AM
To: javascript
Subject: [javascript] Re: Maximizing a window
I dont know how your code looks but you can use focus() to get the window
open again when it was minimized [of clicked to the back].
function GetHelp()
{
help = top.window.open("Help.asp", 'helper', 'width=400,
height=500,toolbar=0,resizable=1,status=1,scrollbars=1');
help.focus();
}
When you execute this function, and the 'help' window is minimized, it will
come into focus. im not sure, but i think this is what you want ?
hope this helps.
johannes
----- Original Message -----
From: "Gadigi, Suresh" <GadigiS@n...>
To: "javascript" <javascript@p...>
Sent: Monday, January 28, 2002 16:37
Subject: [javascript] Maximizing a window
> Hello All,
>
> I am opening a window from the main window when a button is clicked. The
> opened window can be minimized/resized by the user.
> How do I maximize this opened window when it is minimized by the user? I
> want to do this when the user clicks the same button which opens the
window.
>
> Thanks in Advance.
>
> Suresh
>
>
>
>
> "The information in this email, and in any attachments,
> may contain confidential information and is intended
> solely for the attention and use of the named addressee(s).
> It must not be disclosed to any person without authorization.
> If you are not the intended recipient, or a person responsible for
> delivering it to the intended recipient, you are not authorized
> to, and must not, disclose, copy, distribute, or retain this
> message or any part of it."
>
$subst('Email.Unsub').
>
"The information in this email, and in any attachments,
may contain confidential information and is intended
solely for the attention and use of the named addressee(s).
It must not be disclosed to any person without authorization.
If you are not the intended recipient, or a person responsible for
delivering it to the intended recipient, you are not authorized
to, and must not, disclose, copy, distribute, or retain this
message or any part of it."