正在载人数据......
怎样让一个IE窗口自动关闭而不出现是否关闭页面的提示?
[ 2006-11-28 11:32:00 | By: cukkk ]
使用close()命令在关闭主窗口时会出现是否关闭的提示,怎样让这个提示不出现?
---------------------------------------------------------------
window.opener=null;window.close();
---------------------------------------------------------------
<Script>
window.opener=null
window.close();
</Script>
必须在IE5.5以上版本有效
---------------------------------------------------------------
//IE6+SP1以下有效
<OBJECT id=closeit classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" VALUE="Close"></OBJECT>
<a href="javascript:closeit.Click()">点这里关闭窗口</a>
//IE5.5以上有效
<input type=button value=关闭 onclick="window.opener='null';window.close()">
//IE5.5以上有效
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT><input type=button value=关闭窗口 onclick=document.all.WebBrowser.ExecWB(45,1)>
<P>使用close()命令在关闭主窗口时会出现是否关闭的提示,怎样让这个提示不出现? <BR>--------------------------------------------------------------- <BR> <BR>window.opener=null;window.close(); <BR>--------------------------------------------------------------- <BR> <BR><Script> <BR>window.opener=null <BR>window.close(); <BR></Script> <BR>必须在IE5.5以上版本有效 <BR>--------------------------------------------------------------- <BR> <BR>//IE6+SP1以下有效 <BR><OBJECT id=closeit classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> <BR><PARAM NAME="Command" VALUE="Close"></OBJECT> <BR><a href="javascript:closeit.Click()">点这里关闭窗口</a> <BR> <BR>//IE5.5以上有效 <BR><input type=button value=关闭 onclick="window.opener='null';window.close()"> <BR> <BR>//IE5.5以上有效 <BR><OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT><input type=button value=关闭窗口 onclick=document.all.WebBrowser.ExecWB(45,1)></P>
<P> </P>
<P>怎么在用window.close()关闭IE窗口时不出提示?? <BR>--------------------------------------------------------------- <BR> <BR><HTML> <BR><object <BR> id=closes <BR> type="application/x-oleobject" <BR> classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> <BR> <param name="Command" value="Close"> <BR> </object> <BR> <input type=button value=关闭 onclick=closes.Click()> <BR> <BR></html><BR><BR></P>
---------------------------------------------------------------
window.opener=null;window.close();
---------------------------------------------------------------
<Script>
window.opener=null
window.close();
</Script>
必须在IE5.5以上版本有效
---------------------------------------------------------------
//IE6+SP1以下有效
<OBJECT id=closeit classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" VALUE="Close"></OBJECT>
<a href="javascript:closeit.Click()">点这里关闭窗口</a>
//IE5.5以上有效
<input type=button value=关闭 onclick="window.opener='null';window.close()">
//IE5.5以上有效
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT><input type=button value=关闭窗口 onclick=document.all.WebBrowser.ExecWB(45,1)>
<P>使用close()命令在关闭主窗口时会出现是否关闭的提示,怎样让这个提示不出现? <BR>--------------------------------------------------------------- <BR> <BR>window.opener=null;window.close(); <BR>--------------------------------------------------------------- <BR> <BR><Script> <BR>window.opener=null <BR>window.close(); <BR></Script> <BR>必须在IE5.5以上版本有效 <BR>--------------------------------------------------------------- <BR> <BR>//IE6+SP1以下有效 <BR><OBJECT id=closeit classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> <BR><PARAM NAME="Command" VALUE="Close"></OBJECT> <BR><a href="javascript:closeit.Click()">点这里关闭窗口</a> <BR> <BR>//IE5.5以上有效 <BR><input type=button value=关闭 onclick="window.opener='null';window.close()"> <BR> <BR>//IE5.5以上有效 <BR><OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT><input type=button value=关闭窗口 onclick=document.all.WebBrowser.ExecWB(45,1)></P>
<P> </P>
<P>怎么在用window.close()关闭IE窗口时不出提示?? <BR>--------------------------------------------------------------- <BR> <BR><HTML> <BR><object <BR> id=closes <BR> type="application/x-oleobject" <BR> classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> <BR> <param name="Command" value="Close"> <BR> </object> <BR> <input type=button value=关闭 onclick=closes.Click()> <BR> <BR></html><BR><BR></P>
- 上一篇:CURL部分用法
- 下一篇:将ASP木马插入GIF图片工具




