showModalDialog(“URL”[, arguments] [, 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.
[, 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)
就行了