Forum Moderators: open
window.resizeTo(window.screen.availWidth/2);
window.screen.left = 1;
window.resizeTo( window.screen.availHeight/4 );
window.screen.top = 0;
See [webmasterworld.com...] for further discussion on posssible cludges.
Shawn
onload="javascript:window.open('url_of_new_window.html','WindowName','menubar=no,toolbar=no,status=no,width=100,height=100,resizable=yes,scrollbars=yes'); window.close()"
(I think that should work, haven't tested.)
However, do you really need to? It will look pretty clunky, and if you don't need to remove the toolbars, status bars, and scroll-bars then you should be able to do the rest without closing the window. Personally, I think its pretty condescending to your website visitors to remove the status bars & toolbars; and removing the scroll bars makes it difficult for people with small screens (such as on a PDA) to view your site. So have a think about whether you really need it or not...
Shawn