使用Microsoft Edge中的window.open打开一个新窗口不起作用 [英] Opening a new window using window.open in Microsoft Edge isn't working

查看:943
本文介绍了使用Microsoft Edge中的window.open打开一个新窗口不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用窗口时.open与下面给出的代码


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


有一些问题如下:


1。新窗口的最小化按钮,最大化按钮,关闭按钮无法工作。


2。新窗口中没有 滚动条。


3。位置栏无法完全显示。


按下  胜利+ D  (最小化
所有窗口),只打开新窗口,上面提到的按钮(Minimize,Maximize,Close)正常工作,滚动栏和位置栏也可以显示。


解决方案

什么是Windows 10内幕预览版?


也许这会有所帮助:
http://stackoverflow.com/questions/30582414/microsoft-edge-window-open-not-honoring-width-height-and-opens-in-background


When using window.open with below given code

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

there are some issues as follow:

1. The new window's minimize button, maximize button, close button cannot work.

2. There is no scroll bar in the new window.

3. The location bar cannot be displayed completely.

After pressing win+D (minimizing all windows), and opening only the new window, the above mentioned buttons (Minimize, Maximize, Close) were working, the scroll bar and location bar can be displayed as well.

解决方案

What is the version of your windows 10 insider preview?

Maybe this helps: http://stackoverflow.com/questions/30582414/microsoft-edge-window-open-not-honoring-width-height-and-opens-in-background


这篇关于使用Microsoft Edge中的window.open打开一个新窗口不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆