JS window.open在屏幕中间的实现方法示例代码:

<script language=”javascript”>
  <!–
var x=100;
var y=200;
  window.open(”,’name’,’top=’+(window.screen.height-y)/2+’,left=’+(window.screen.width-x)/2+’,width=x,height=y’);

  //–>
? </script>