<html>
<head>
<title>hello~</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}function MM_popupMsg(msg) { //v1.0
alert(msg);
}
//-->
</script>
</head><body bgcolor="#FFFFFF" text="#000000">
<p align="center"><b><font size="2" color="#999999">必须支持框架,支持cookies</font></b></p>
<form name="form1" method="post" action="">
<div align="center">
<input type="button" name="Button" value="enter version 3" onClick="javascript:window.close();MM_openBrWindow('gts.asp','','width=790,height=550,left=0,top=0')">
</div>
</form>
<p> </p>
</body>
</html>
<head>
<title>hello~</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}function MM_popupMsg(msg) { //v1.0
alert(msg);
}
//-->
</script>
</head><body bgcolor="#FFFFFF" text="#000000">
<p align="center"><b><font size="2" color="#999999">必须支持框架,支持cookies</font></b></p>
<form name="form1" method="post" action="">
<div align="center">
<input type="button" name="Button" value="enter version 3" onClick="javascript:window.close();MM_openBrWindow('gts.asp','','width=790,height=550,left=0,top=0')">
</div>
</form>
<p> </p>
</body>
</html>
var newwindow;
newwindow=window.open("url.aspx","title","scrollbars=no");
newwindow.resizeTo(screen.width,screen.height);
newwindow.moveTo(0,0);
</script>scrollbars=no就没有工具兰,只有窗口。
然后全屏
或
<body style="overflow:auto">当超出窗口边界的时候自动显示
{
closes.Click() // 无提示地关闭当前窗口
dt=new Date();
ss="./logon"
window.open(ss,"jkxtwin","fullscreen=yes,scrollbars=no");
}</script><Object id=closes
type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<Param name="Command" value="Close">
</Object><body onload='javascript:open_win();'>
</body></html>