您的位置:首页 > 其它

在页面上打开一个新的窗口,并设置它的长宽高...

2016-07-22 00:00 295 查看
<script type="text/javascript">
function Wopen(){
window.open('http://www.baidu.com','_blank','width=600px,height=400px,top=100px,left=0px')
}
</script>

</head>
<body>
<input name="button" type="button" onclick="Wopen()" value="点击">
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: