
September 7th, 2000, 10:08 PM
|
|
Contributing User
|
|
Join Date: May 2000
Posts: 81
Time spent in forums: < 1 sec
Reputation Power: 9
|
|
|
In short..NO!
This is actually a security issue. Consider what could happen if a person could close a window without you knowing it!
My suggestion is to detect the users screen size and open the window to their screen size.
One word of caution. When Netscape closes, it reopens with the same decorations, or lack thereof, as when it was last closed. The only way a user can get back their toolbar, menubar, etc. is to modify the browser configuration file. This is not a great solution since it is also [essentially] a Javascript file. The average user cannot do this. Once a user has figured out it's your site that's causing the problem, it's unlikely they'll be back. IE is a bit more forgiving about this.
If you still want to do this, I would write a script that will detect whether or not your featureless window is the last window being closed. If it is, the script could open up a window with the users original features, close itself, then close the 'featureful' window.
Russ
|