Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q330 How can I create a modal window in Internet Explorer 4?

You are here: irt.org | FAQ | JavaScript | Window | Q330 [ previous next ]

showModalDialog (in Internet Explorer 4) creates a dialog box and displays the HTML document given by URL. The dialog box is a special window that is modal, meaning it retains the input focus until the user closes it. It returns a number, string, or other value equal to the value of the returnValue property as set by the document given by URL.

Syntax
variant = window.showModalDialog(URL [, arguments [, features]])

Where:

For further information see http://msdn.microsoft.com/workshop/Author/dhtml/reference/methods/showModalDialog.asp for the showModalDialog method, and http://developer.netscape.com:80/viewsource/goodman_modal/goodman_modal.html for a Netscape Navigator version.

©2018 Martin Webb