faqts : Computers : Programming : Languages : JavaScript : Windows

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

60 of 488 people (12%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

Can a window be minimized? (Something like window.minimize()?)

May 5th, 2001 05:58
Colin Fraser, Kate Wintjen,


Not really, to minimalize the browser window requires that the script be 
signed, in NN anyway. You can resize it with something like :
<a href="javascript:void" onClick="if (document.images) 
window.resizeTo(100,100)">Resize your window</a>
However, while this works in both NN and IE5.5 iI have not tested this 
in any other browser.