...

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



opofcabo
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:

mentalhorse
01-29-2006, 11:44 PM
function wclose() {
whatever.close();
}

Lerura
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

glenngv
01-30-2006, 04:02 AM
http://www.codingforums.com/showthread.php?t=76642



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum