Mozilla XUL Element and Script Reference

Contents  Quick Reference

Tab

A single tab which should be placed inside a tabs element. The user may click a tab to bring the associated page of the tabbox to the front.

Attributes:

Attributes inherited from XUL Element

afterselected

This is set to true if the tab is immediately after the currently selected tab. This is set automatically set when needed and you shouldn't adjust it manually. This is primarily useful for skins so that they can adjust the appearance of the area around the selected tab.

beforeselected

This is set to true if the tab is immediately before the currently selected tab. This is set automatically set when needed and you shouldn't adjust it manually. This is primarily useful for skins so that they can adjust the appearance of the area around the selected tab.

label

The label that will appear on the tab. If this is left out, no text appears.

selected

Indicates whether the tab is currently the selected tab in a tabbox or not.

Properties and Methods:

Properties and Methods inherited from XUL Element

label

selected

Indicates whether the tab is currently the selected tab in a tabbox or not.

tabs

The tabs element that the tab is contained in.