Window.open()在safari中的新选项卡中打开

时间:2015-11-06 18:21:10

标签: javascript

我正在使用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();
    }

0 个答案:

没有答案