js如何使得新打开的窗口居中

<a href="#" class="blue" onclick="window.open('/Content/service.html', '信息咨询与管理服务协议', 'width=' + 800 + ',height=' + 600 + ',left=' + (window.screen.width - 800) / 2 + ',top=' + (window.screen.height - 600) / 2 + ',resizable=no,status=yes,toolbar=no,location=no,menubar=no,menu=yes,scrollbars=yes')">《信息咨询与管理服务协议》</a>

posted @ 2015-07-31 16:55  豫见世家公子  阅读(492)  评论(0编辑  收藏  举报