使新打开的窗口在屏幕上居中:
window.open("abc.html","abc","height=80,width=300,left="+(screen.width/2-150)+",top="+(screen.height/2-40)+",toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no")至于关闭按钮,你在abc.html中放一个好了
window.open("abc.html","abc","height=80,width=300,left="+(screen.width/2-150)+",top="+(screen.height/2-40)+",toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no")至于关闭按钮,你在abc.html中放一个好了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货