2个回答
展开全部
<HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=gb2312"> <SCRIPT language="javascript"> function openwindow( ) { window.showModalDialog("register.html", "模式网页-广告", "toolbars=0, location=0, statusbars=0, menubars=0,width=700, height=550,scrollbars=1"); } function closewindow( ) { if(window.confirm("您确认要退出系统吗?")) window.close(); } </SCRIPT> </HEAD> <BODY onLoad="openwindow()"> //页面加载完毕 显示模式网页 <H3><A href="javascript: closewindow() ">退出</A></H3> </BODY> </HTML>
采纳哦
采纳哦
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询