|
From what I understand that cant be done exactly, this is the solution I worked out with some help of course... Also note, that a window can't close w/o the users permission in most browers (so a confirm box might appear to as the user to close the window or not), FF will instead hide the window to the back of the newly focused window, browers with tabs will most likely let a script close it out from what I have seen. Also, if the user has a good popup blocker this may not work at all:
Inside the initial window at the JS HEAD area place:
ht=screen.availHeight-75;
wd=screen.availWidth;
window.onload=function(){
window.open("NewFile.HTML","NameOfNewWindow","width="+wd+",height="+ht+",top=0,left=0,resizable");
Inside the new window JS HEAD area place:
opener.close();self.focus();
|