Mozilla XUL Element and Script Reference

Contents  Quick Reference

Wizardpage

This element defines a page in a wizard. The content in the pages should be placed inside the wizardpage element.

Attributes:

Attributes inherited from XUL Element

description

Set this attribute to a description to appear in the wizard header while the page is being displayed.

label

The title that appears on the top of the wizard while the page is displayed.

next

Set to the page ID of the next page after this one. When set, the page with this pageID is displayed when the Next button is pressed. This can be used to create wizards that do not have a linear sequence. If one of the pages has a next attribute, all of the pages should have one, except that last page.

onpageadvanced    Moz0.9.8

This should be set to code which is called when the user presses the Next button while on the current page. Return true to allow the next page to be displayed and false to disallow moving to the next page.

onpagehide

The code in this attribute is called when the page is hidden, such as when moving to another page. Return true to accept the page change and false to prevent the page from changing. This code is called before the wizard's onwizardnext and related functions.

onpagerewound    Moz0.9.8

This should be set to code which is called when the user presses the Back button while on the current page. Return true to allow the previous page to be displayed and false to disallow moving to the next page.

onpageshow

The code in this attribute is called when the page is shown.

pageid

This attribute should be set to a string that identifies the page's identifer in the wizard. This is used with the next attribute. The wizard always starts with the wizardpage that appears first in the wizard child list.

Properties and Methods:

Properties and Methods inherited from XUL Element

next

Set to the page ID of the next page after this one. When set, the page with this pageID is displayed when the Next button is pressed. This can be used to create wizards that do not have a linear sequence. If one of the pages has a next attribute, all of the pages should have one, except that last page.

pageid

This attribute should be set to a string that identifies the page's identifer in the wizard. This is used with the next attribute. The wizard always starts with the wizardpage that appears first in the wizard child list.