怎样让一个窗口一出来就是没有状态栏、菜单栏....

无爱大叔 2002-09-19 11:12:17
不要全屏
...全文
99 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaobeibei 2002-09-19
  • 打赏
  • 举报
回复
window.open("menu.htm","Menu","width=1015,height=710,top=0,left=0,scrollbars=yes,resizable=no,menubar=no,toolbar=no,location=no");
无爱大叔 2002-09-19
  • 打赏
  • 举报
回复
没有其他办法了吗?
qiushuiwuhen 2002-09-19
  • 打赏
  • 举报
回复
Close self and open new
无爱大叔 2002-09-19
  • 打赏
  • 举报
回复
如题,比如一个窗口叫sample.htm;打开sample.htm窗口,sample.htm就没有工具条,菜单栏等等...不从别的页面跳过来
binscut 2002-09-19
  • 打赏
  • 举报
回复
window.open("Sample.htm",null, "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");
Reker熊 2002-09-19
  • 打赏
  • 举报
回复
window.open(Sub_win.htm','','resizable=0,scrollbars=0,status=0,menubar=no,toolbar=no,location=no, menu=no','1')
最后的1表示新窗口不会作为新窗口加入到历史记录中
<SCRIPT LANGUAGE="javascript"> js脚本开始;
window.open 弹出新窗口的命令;
'page.html' 弹出窗口的文件名;
'newwindow' 弹出窗口的名字(不是文件名),非必须,可用空''代替;
height=100 窗口高度;
width=400 窗口宽度;
top=0 窗口距离屏幕上方的象素值;
left=0 窗口距离屏幕左侧的象素值;
toolbar=no 是否显示工具栏,yes为显示;
menubar,scrollbars 表示菜单栏和滚动栏。
resizable=no 是否允许改变窗口大小,yes为允许;
location=no 是否显示地址栏,yes为允许;
status=no 是否显示状态栏内的信息(通常是文件已经打开),yes为允许;
</SCRIPT> js脚本结束
longxq 2002-09-19
  • 打赏
  • 举报
回复
1.asp
<%@language=vbscript%>
<%response.buffer=false%>
<%
username=1//request.querystring("username")
pass=1//request.querystring("pass")
%>
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>a</title>
<script language=javascript>
function openwin()
{
var win = window.open("2.asp?username="+input.username.value+"&password="+input.password.value+"","new","left=0,top=0,width="+(screen.availWidth)+",height="+(screen.availHeight-22)+",toolbar=no,menubar=no,Status=no,scrollbars=yes,resizable=yes,copyhistory=no,dependent=no");
win.moveTo(-4,-4);
win.focus();
return true;
}
</script>

</head>

<body >
<OBJECT id=hh3 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" VALUE="Close"></OBJECT>
<form name="input" target="new">
<table border="0" width="100%" height="332">
<td width="166">
<input name="username" value=<%=username%> size="25" type="text" > </td>
<td width="166">
<input name="password" value=<%=pass%> size="25" type="password" >
</td>
</table>

</form>

<script>
hh3.Click()
openwin()
</script>

</body>

</html>

//////////////////////////////////////////////
2.asp
<%@language=vbscript%>
<%response.buffer=false%>

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head>

<body>
<%
username=request.querystring("username")
password=request.querystring("password")
response.write(username)
response.write"<br>"
response.write(password)
%>
</body>

</html>

jinfanzi 2002-09-19
  • 打赏
  • 举报
回复
window.open("test.htm", null,"SCROLLBARS=0,MENUBAR=0,RESIZABLE=1,STATUS=0,WIDTH=1010,HEIGHT=650,TOP=0,LEFT=0");

87,996

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧