以下网页如何修改代码,能控制网页访问时打开后窗口大小,如alert()提示窗口一样大小,主要要用作跳转提示,去掉工具栏滚动条状态栏地址栏等??
[因为不能用alert()或window.open('tishi.html'‘宽,高’)来做跳转,这样会会出现两个窗口而且还会有弹窗提示]?tishi.htm:
<html>
<head>
<script>
function CloseWin()
{
window.opener=null;
//window.opener=top;
window.open("","_self");
window.close();
} </script>
</head>
<body bgcolor="#fdedf2">
<div>留言已提交,感谢您对本站的关注,请刷新原页面查看您的留言<br />
<span style="cursor:pointer;" onclick="CloseWin()">确定</span></body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货