Example005控制弹出窗口居中显示

<!-- 实例005控制弹出窗口居中显示 -->
<head>
<meta charset="UTF-8">
</head>
<form action="" name="form" method="post">
<input type="button" name="button" value="创建行窗口" onclick="hs()">
</form>
<script>
function hs() {
var ss = window.open("index.html","new","height=100,width=300");
width = screen.width;
height = screen.height;
ss.moveTo((width-300)/2,(height-100)/2);
}
</script>

  

上一篇:Oracle EBS中分类账和法人实体 的关系(有sql语句实例)


下一篇:Flash CC2015软件安装教程