如何让孩子的窗户停留在顶部? [英] How to make child window stay on top?

查看:157
本文介绍了如何让孩子的窗户停留在顶部?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 window.open 从父窗口打开子窗口。我希望子窗口保持在顶部,以便用户可以在父窗口中输入时引用它。可以这样做吗?我现在使用的是Firefox,但是如果它在所有的浏览器中都能正常工作的话,这将是一个好处。

如何使用一个弹出div 而不是打开一个新窗口?


I am using window.open to open a child window from the parent window. I want the child window to stay on top so the user can refer to it while making an entry in the parent window. Can this be done? I'm using Firefox at the moment, but it would be a bonus if it worked in all browsers.

解决方案

How about using a popup div instead of opening a new window?

这篇关于如何让孩子的窗户停留在顶部?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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