Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q1277 How can I create a modal dialog window?

irt.org | Knowledge Base | JavaScript | Window | Q1277 [ previous next ]

Q1277 How can I create a modal dialog window?

In Internet Explorer 4+ you can use:

<script language=JavaScript"><!--
window.showModalDialog("myFrame.htm","myDialog","center=yes;dialogHeight=200;dialogleft=100;dialogTop=100;dialogWidth=200;help=yes;status=yes,resizable=no");
//--></script>

For a Netscape compatible solution see the article by Danny Goodman: http://developer.netscape.com:80/viewsource/goodman_modal/goodman_modal.html

Feedback on 'Q1277 How can I create a modal dialog window?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.