当前位置: 代码迷 >> Web前端 >> 怎么使弹出窗口居中显示
  详细解决方案

怎么使弹出窗口居中显示

热度:137   发布时间:2012-11-01 11:11:32.0
如何使弹出窗口居中显示
将弹出窗口设置居中显示:
function selectProductFunction(height,width){
window.open ('selectProductPage.action', '选择产品', 'height='+height+', width='+width+',top='+(screen.height-height)/2+',left='+(screen.width-width)/2+' ,toolbar=no,menubar=no, scrollbars=no, resizable=no,location=n o, status=no'); 
}
  相关解决方案