This topic has been archived. It cannot be replied.
-
工作学习 / IT杂谈 / when i use window.close() to close the broswer, it always popup a dlg ask Y/N, how to avoid this dlg and close directly? give me some hints please!!xs!
-bigdesk(From CCS);
2001-12-27
(#314960@0)
-
upto HOW did you open the pop-up window,
you are not always to be asked to answer
yes or no.
-rootbear(喝点啤酒晕晕头);
2001-12-27
{93}
(#314995@0)
-
what's that means?when i see the source code of the reply window of Rolia it also use the window.close() to close the window, what's the difference? any tricks?
-bigdesk(From CCS);
2001-12-27
(#315057@0)
-
Simple, because that is the last window you want to close.
-jeffrey815(Smartiecat);
2001-12-27
(#315060@0)
-
nothing wrong with window.close(), but how did you open it,
check how rolia opens its pop-up window or try[a href="javascript:popup('test.htm')"]pop[/a]
[script]
function popup(url) {
window.open(url,'popupwindow');
}
[/script]
-rootbear(喝点啤酒晕晕头);
2001-12-27
{138}
(#315099@0)
-
Wrong! If you use Netscape, and it's the last window to close by calling window.close(), then Netscape will always prompt you.
-jeffrey815(Smartiecat);
2001-12-28
(#315254@0)
-
如果是这样,那就SAY YES吧不知道NETSCAPE怎么堕落到这种程度
当初也跟IE一争高下的
-rootbear(喝点啤酒晕晕头);
2001-12-28
{54}
(#315334@0)