在所有应用程序JavaScript弹出 [英] Javascript popup over all applications

查看:116
本文介绍了在所有应用程序JavaScript弹出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET页面,在IE浏览器,监视在夜间运行多个服务器作业运行。当在作业中发生错误,我有使用javascript打开,对window.open的弹出窗口()。问题是,员工往往有其他的应用,如Netflix的,运行全屏并没有看到弹出窗口,通知他们的错误。我有弹出页JavaScript的code不断地将焦点设置本身,所以它会在任务栏闪烁,但Netflix的覆盖任务栏,因此没有帮助的。

I have an ASP.NET page, running in IE, that monitors several server jobs running at night. When an error occurs on a job, I have a popup window that opens with javascript, window.open(). The problem is, employees tend to have other applications, such as Netflix, running full screen and do not see the popup window notifying them of the error. I have javascript code on the popup page to continually set focus to itself, so it will blink in the taskbar, but Netflix covers the taskbar, so not helpful.

目前使用:
的setInterval('window.focus()的',500);

Currently using: setInterval('window.focus()',500);

有没有一种方法,使在IE弹出一个窗口,将打开超过所有其他应用程序?

Is there a way to make a popup window in IE that will open over every other application?

推荐答案

要克服其他窗口的唯一方法是使用全屏= YES 来使你的窗口全屏显示。它在IE只( MSDN文档)和Mozilla人恨它的!

The only way to overcome to other windows is using fullscreen=yes to make your window full screen. It's supported in IE only (MSDN docs) and Mozilla people hate it!

,否则您没有从浏览器访问操作系统级

这篇关于在所有应用程序JavaScript弹出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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