怎样让一个窗口一出来就是没有状态栏、菜单栏.... window.open("Sample.htm",null, "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no"); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 如题,比如一个窗口叫sample.htm;打开sample.htm窗口,sample.htm就没有工具条,菜单栏等等...不从别的页面跳过来 Close self and open new window.open("menu.htm","Menu","width=1015,height=710,top=0,left=0,scrollbars=yes,resizable=no,menubar=no,toolbar=no,location=no"); window.open("test.htm", null,"SCROLLBARS=0,MENUBAR=0,RESIZABLE=1,STATUS=0,WIDTH=1010,HEIGHT=650,TOP=0,LEFT=0"); 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> 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脚本结束 align 求指点一段JavaScript的打印代码 js 动态生成表单元素后,在提交前怎么获得他进行验证呢 求一个倒计时的代码 请问innerHTML在FF下的问题如何解决? ???frameset滚动条的问题 模拟框架集效果? 请问如何屏蔽掉页面中所有的链接 在线等待... 急 如何使input的背景透明? 求助个jquery DIV取值的问题 使用JavaScript如何让一个浏览器没有菜单、工具拦、地址栏,也就是说全屏显示? 如何用一个链接控制两个不同帧,显示不同的页面?
<%@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>
最后的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脚本结束