[导入]open window in center js code

[导入]open window in center js code
   function openWindow(url,width,height)
        {
        window.open(url,"_blank","height="+height+",width="+width+",top="+((screen.availHeight-height)/2)+",left="+((screen.availWidth-width)/2)+",toolbar=no,menubar=yes,scrollbars=yes, resizable=yes,location=no, status=no");
        } 
文章来源: http://www.cnblogs.com/wangdetian168/archive/2008/06/25/1229994.html

你可能感兴趣的:([导入]open window in center js code)