View Full Version : Script to close old window and open new window with new link and specific size

01-29-2006, 11:42 PM
I need a script that will open a new window (popup / new link) in a specific size, but will also close the old window (where the popup came from). I know the popup window is easy but finding a work-able close window script as the new window is opened is impossible!! If anyone can help it would be much appreciated :thumbsup:

01-29-2006, 11:44 PM
function wclose() {

01-29-2006, 11:54 PM
it is a security matter
in NS(possibly FF) javascript is not allowed to close a window that is not opened by javascript, at all.
IE will always prompt if you are trying to do it.

There is no way to get around it

01-30-2006, 04:02 AM