XUL:tabpanels
From MDC
« XUL Reference home [ Examples | Attributes | Properties | Methods | Related ]
A container to hold the set of pages in a tabbox. The tabpanels element should be placed in a tabbox. The children of the tabpanels element become the panels of the tabbox. Usually, the children are tabpanel elements. By clicking the first tab, the first panel will be displayed. By clicking the second tab, the second panel will be displayed and so on.
More information is available in the XUL tutorial.
- Attributes
- selectedIndex
- Properties
- selectedIndex, selectedPanel
[edit] Examples
(example needed)
[edit] Attributes
- selectedIndex
- Type: integer
- Gets and sets the index of the currently selected panel. The first item is at index 0.
|
Inherited from XUL element |
[edit] Properties
|
Inherited from XUL element Inherited from DOM element |
- accessible
- Type: nsIAccessible
- Returns the accessibility object for the element.
- selectedIndex
- Type: integer
- Returns the index of the currently selected item. You may select an item by assigning its index to this property. By assigning
-1to this property, all items will be deselected.
- selectedPanel
- Type: element
- Holds a reference to the currently selected panel within a
<tabbox>element. Assigning a value to this property will modify the selected panel. A select event will be sent when the selected panel is changed.
[edit] Methods
|
Inherited from XUL element Inherited from DOM element |