Yahoo UI 使用 YAHOO.widget.Dialog 实现弹出窗口
我使用 Yahoo.widget.dialog 来实现弹出窗口。目前,它仅在所属页面上弹出。如果我正在其他(选项卡浏览器)页面上工作。将看不到弹出窗口。有人可以为此提供一些帮助吗?谢谢
I used the Yahoo.widget.dialog to implement a popup window. Currently, it popups only on the page which is belongs. If I am working on the other (tab browser) pages. The popup window will be not seen.Could somebody supply some help for this ?Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以切换到 window.alert() 或使用 window.open() 打开一个包含您的内容的新弹出窗口。
这两种方式都不是我个人想要体验的,但这是在页面外打开弹出窗口的两种选择。 Window.open 会被许多弹出窗口拦截器捕获,因此您需要注意这一点。
You could either switch to window.alert() or use window.open() to open a new pop-up window containing your content.
Neither one is something I'd personally want to experience, but those are your two options for opening a pop-up outside the page. Window.open will get caught by many pop-up blockers so you'll need to watch for that.