不行,模态对话框也只是对当前窗口管用window.showModalDialog(url)
window.showModelessDialog(url)
window.showModelessDialog(url)
解决方案 »
- EXTJS 4.0 grid 中文排序 求解?
- jquery动态删除问题
- 关于js获取cookie的问题
- 怎样在父页面获得iframe中某个域的值
- 请问javascript能不能取得url参数传来的值?
- DOM tree of javascript
- 输入日期的问题,给个高分,交个朋友!!
- 字符型与数值型的计算问题
- 关于日期的提问,高手答对者给分
- a < 5 && a > 5 ? console.log(true) : console.log(false); 问 a为何值时 , 打印true
- 用delphi编写的activex控件,如何直接调用他的属性和方法?
- 还是获取文本框中光标位置的问题!!!请进。。。。
[, features])
showModelessDialog(“URL”[, arguments]
[, features])Feature Type Default Description
center Boolean yes Whether to center dialog box
(overridden by dialogLeft
and/or dialogTop).
dialogHeight Length varies Outer height of the dialog
box window. IE4 default length
unit is em; IE5 is pixel (px).dialogLeft Integer varies Pixel offset of dialog box
from left edge of screen.dialogTop Integer varies Pixel offset of dialog box
from top edge of screen.dialogWidth Length varies Outer width of the dialog box
window. IE4 default length
unit is em; IE5 is pixel (px).help Boolean yes Display Help icon in title bar.resizable Boolean no Dialog box is resizable (IE5+
only).status Boolean varies Display statusbar at window
bottom (IE5+ only). Default is
yes for untrusted dialog box; no
for trusted dialog box.
<script language="JavaScript">
var meizz = window.open("about: <body bgcolor=#000000>","win","fullscreen=yes");
meizz.blur();
self.focus();
meizz.resizeTo(640,480);
meizz.moveTo(screen.availWidth/2-320,screen.availHeight/2-240);
ontopIntervalHandle = meizz.setInterval("window.opener.meizz.focus();",10);
</script>
这样各
window.onblur=function(){setTimeout("window.focus()")}
window.onblur=function(){setTimeout("window.focus()",100)}
window.showModelessDialog(url)
就行了