XUL Programmer's Reference Manual

<deck>

Attributes Common Children
id titledbutton
index text
  img
  box
   
   

<stack>

Attributes Common Children
id titledbutton
  text
  img
  box
   
   

The <deck> element provides a way to dynamically swap elements within a group. The <deck> is a container for any number of child elements that can be accessed as indexed items via JavaScript and the DOM, as in the following demo:


 
Last updated: 3/20/00 Ian Oeschger