Javascript window.open()不能溢出当前窗口
问题:新窗口无法溢出当前窗口……。使用此功能打开与父窗口大小相同的弹出窗口Javascript window.open()不能溢出当前窗口,javascript,Javascript,问题:新窗口无法溢出当前窗口……。使用此功能打开与父窗口大小相同的弹出窗口 window.open('','','width=1365,height=100,left=1365,top=0'); 如果你想让任何人做出明智的回应,你需要提供更多的细节。 function popup(url) { params = 'width='+screen.width; params += ', height='+screen.height; params += ', top=0, left=0'
window.open('','','width=1365,height=100,left=1365,top=0');
如果你想让任何人做出明智的回应,你需要提供更多的细节。
function popup(url)
{
params = 'width='+screen.width;
params += ', height='+screen.height;
params += ', top=0, left=0'
params += ', fullscreen=yes';
newwin=window.open(url,'windowname4', params);
if (window.focus) {newwin.focus()}
return false;
}