本文介绍了从子窗口打开子浏览器窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的主窗口中,我正在做一个window.open(..... )。但是从这个子窗口开始,我想打开另一个子窗口,但它不工作。我的意思是问题在于第一个孩子打开了窗口。
有什么想法?
谢谢。 / p>
解决方案
尝试为每个打开的窗口使用不同的名称:
window.open('url here','window one','settings')
window.open('url here','window two','settings')
window.open('url here','window three','settings')
//等等
Does anyone know how to open a browser window from a child window?
On my main window I'm doing a window.open(.....). But then from this child window I want to open another child window, but its not working. I mean the problem is that the window opens on the first child.
Any ideas?
Thanks.
解决方案
Try to use a different name for each window you open:
window.open('url here', 'window one', 'settings')
window.open('url here', 'window two', 'settings')
window.open('url here', 'window three', 'settings')
// and so on
这篇关于从子窗口打开子浏览器窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!