HTML打开窗体的的设定

<script type="text/javascript">
function open_adv()
{
    window.open("adv.html");
}
function open_fix_adv()
{
    window.open("adv.html","","height=380,width=320,toolbar=0,scrollbars=0,location=0,status=0,menubar=0,resize=0");
}
function fullscreen()
{
    window.open("adv.html","","fullscreen=yes");
}
function close_plan()
{
    window.close();
}
</script>
</head>

<body>
<input type="button" value="弹出窗口" onclick="open_adv();" /><br />
<input type="button" value="弹出固定大小的窗口,并且没有菜单栏等" onclick="open_fix_adv();" /><br />
<input type="button" value="全屏显示" onclick="fullscreen();" /><br />
<input type="button" value="关闭窗口" onclick="close_plan();" />
</body>

 

posted @ 2013-11-19 10:48  914556495  阅读(272)  评论(0编辑  收藏  举报