Results 1 to 2 of 2
Thread: Close Initial Site Window
Nov 21, 2002, 12:33 #1
- Join Date
- Mar 2002
- 0 Post(s)
- 0 Thread(s)
Close Initial Site Window
Suppose in your index.html file that you open another window (without toolbars) as the main window for your site, and then naturally you want to close the first window (index.html) since its purpose is only to open your main window.
When I call self.close() from index.html, I get a prompt from IE saying that the window is trying to close itself. Is there a way to avoid this or do I have to keep that first window open?
Here's the script
window.open("main.php", "wdoMain", "resizable, scrollbars, status");