rowantrimmer
12-15-2002, 08:54 PM
Hello,
I am simply trying to open a javascript window and then close down the main html window that it opened up in so that the javascript window is just sitting on the desk top.
Here is my html page. I just need to know how to close down the main html page and leave the javascript window open on the desktop. Need this all to be done automatically.....
I have tried a window.close() but it prompts you to close the main html doc and does not open up the javascript window.
Any ideas ????
Merry XMAS
<html>
<body name=main onLoad=window.open("teamconfig.html","newwin","width=100px,height=300px")></body>
</html>
I am simply trying to open a javascript window and then close down the main html window that it opened up in so that the javascript window is just sitting on the desk top.
Here is my html page. I just need to know how to close down the main html page and leave the javascript window open on the desktop. Need this all to be done automatically.....
I have tried a window.close() but it prompts you to close the main html doc and does not open up the javascript window.
Any ideas ????
Merry XMAS
<html>
<body name=main onLoad=window.open("teamconfig.html","newwin","width=100px,height=300px")></body>
</html>