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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimizing a Window

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Hi, Everybody!

Is there something like window.opener.minimize() ???

I need to hide (close/minimize, anything), a partent window which called a popup window...

Thanks in advance
 
Try the window.hide(title)

EX:
window.hide (window.myWindow())


I have not failed; I merely found 100,000 different ways of not succeding...
 
my mistake... I have not failed; I merely found 100,000 different ways of not succeding...
 
If you just need to minimize the window try
<script language=&quot;javascript&quot;>
window.blur()
</script>

I know that it works with IE5 but that is all I tried it on

Roj
There are no stupid questions....
Unless of course I don't know the answer LOL
 
blur takes away focus, and sends the window to the back, but it does not minimize unfortunately. I have looked every where for this, but to no avail!
 
in ie we can kick window off screen's borders (& left a small piece of it for it 2 take its position back on next focus)
i mean window.moveTo(screen.width-10, 0) or some other side.. :-) Victor
 
window.open(&quot;newwin&quot;);
newwin.focus();
opener.resize(x,y);

this should work!

-sreeky
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top