mozilla

Revision 148610 of openSubDialog

  • Revision slug: XUL/Method/openSubDialog
  • Revision title: openSubDialog
  • Revision id: 148610
  • Created:
  • Creator: Dria
  • Is current revision? No
  • Comment

Revision Content

{{template.XULRefMeth()}}
{{template.XULMeth2("openSubDialog", "( url, features, params )")}}
Return type: window
Opens a child modal dialog. Usually this method would be used to allow the user to configure advanced options. The arguments are similar to the window's openDialog method except that the window name does not need to be supplied. The url should be a XUL file. If the child dialog is also a {{template.XULElem("prefwindow")}}, set its {{template.XULAttr("type")}} attribute to child so that preferences will be saved properly when the main dialog is closed.

Revision Source

<div class="noinclude">{{template.XULRefMeth()}}</div>
<dl><dt> {{template.XULMeth2("openSubDialog", "( url, features, params )")}}
</dt><dd> Return type: <i>window</i>
</dd><dd> Opens a child modal dialog. Usually this method would be used to allow the user to configure advanced options. The arguments are similar to the window's <code>openDialog</code> method except that the window name does not need to be supplied. The <var>url</var> should be a XUL file. If the child dialog is also a {{template.XULElem("prefwindow")}}, set its {{template.XULAttr("type")}} attribute to <code>child</code> so that preferences will be saved properly when the main dialog is closed.
</dd></dl>
Revert to this revision