我正在使用window.open打开一个模式弹出它的开头作为chrome中的模态弹出窗口,但是在safari中它作为新标签打开请帮助!!。
var popUpObj;
function showModalPopUp()
{
popUpObj=window.open("PopUp.htm",
"ModalPopUp",
"toolbar=no," +
"scrollbars=no," +
"location=no," +
"statusbar=no," +
"menubar=no," +
"resizable=0," +
"width=100," +
"height=100," +
"left = 490," +
"top=300"
);
popUpObj.focus();
LoadModalDiv();
}