Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I minimize my current browser window?

Status
Not open for further replies.

BigRedTexas

Programmer
Mar 14, 2002
22
0
0
US
I am calling an open on another browser window and need to minimize the current one. How can I do this via .net? I'm assuming Javascript is the way to go but can't figure it out. I used a "window.blur()" but all that does is send that window to the back.

Thanks for your help in advance!
 
To answer my own question (since nobody else can), here it is.

Javascript:

window.opener = top;
window.close();

Hope that gives somebody else some help if they need this answer. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top