如何使弹出窗口居中显示

发表于: sitebuild | 作者: | 日期: 2008/11/17 07:11


function add_qc_object(){
var height = 250;
var width = 800;
var top = (screen.availHeight – height)/2;
var left = (screen.availWidth – width)/2;
var param = ‘toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,’ +
‘width=’ + width + ‘,height=’ + height + ‘,left= ‘ + left + ‘,top=’ + top;
window.open(‘K230_add_qc_object.jsp’, ‘win_name’, param);
}

: https://blog.darkmi.com/2008/11/17/507.html

本文相关评论 - 1条评论都没有呢
Post a comment now » 本文目前不可评论

No comments yet.

Sorry, the comment form is closed at this time.