Opening a new window using window.open in Microsoft Edge isn't working

僤鯓⒐⒋嵵緔 提交于 2020-01-06 17:11:03

问题


When using window.open with below given code, there is issue in closing the Window, Minimizing the window, and maximizing the window.

window.open(url, '_blank', "height=" + winH + ",width=" + winW + ",fullscreen=yes");

After pressing win+D (minimizing all windows), and opening only the new window, the above mentioned buttons (Minimize, Maximize, Close) were working.


回答1:


On Build 10162, I got it working here on this JSFiddle http://jsfiddle.net/RamiSarieddine/wu09fh1d/

window.open("http://dev.modern.ie/community/","_blank","height=500,width=500,scrollbars=yes,location=yes");

you can see the window opening with height 500, width 300 with a scroll bar, mini-maximize and close button. Check the screenshot below.



来源:https://stackoverflow.com/questions/30635314/opening-a-new-window-using-window-open-in-microsoft-edge-isnt-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!