window.open中央に位置し、タイトルを表示します.
531 ワード
function showStatus(url) {
//
var width = 470;
var height = 170;
//
var top = (window.screen.height - 30 - height) / 2;
var left = (window.screen.width - 30 - width) / 2;
var openWin = window.open(url,"","width=" + width + ",height=" + height +
",top=" + top + ",left=" + left + ",toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes");
setTimeout(function(){ openWin.document.title = ' '; }, 100);
};