当我调用window.open
父窗口时刷新。我还没有看到任何关于如何防止这种情况发生的信息。任何帮助,将不胜感激。
left = Number((screen.width/2)-(730/2)),
top = Number((screen.height/2)-(450/2));
var windowFeatures = 'location=0,menubar=0,resizable=0,scrollbars=0,status=0,width=700,height=500,top='+top+',left='+left;
window.open('access-modal.html', '', windowFeatures);
win.moveTo(left, top);