火狐中window.open 不能打开窗口,而是依附在主窗体上的问题

var result= window.open('','newWin', 'modal=1,dialog=1,height=420, width=960, top=120, left=200, toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=no, status=no');
         $("#viewDetail").submit();
         result.onblur=function(){this.focus();this.opener.onclick=function(){result.focus()};return false};
   result.focus();

你可能感兴趣的:(window.open)