Mozilla XUL Element and Script Reference

Contents  Quick Reference

Bulletinboard

A layout element which allows its children to be placed at absolute pixel coordinates. The child elements should have left and top attributes to specify positions. Later child elements will appear above earlier ones.

Attributes:

Attributes inherited from XUL Element

debug

If true, extra borders are drawn around the element and all its descendants. This can be used to determine orientation and where flexible elements are. If debug mode is enabled for a box, horizontal oriented boxes are displayed with a blue border and vertical boxes are displayed with a red border. The border above the element will be straight for non-flexible elements and wavy for flexible elements.

flex

Indicates the flexibility of the bulletinboard. Flexible elements grow and shrink to fit their given space. The actual value is not relevant unless there are other flexible elements within the same container. Elements with larger flex values will grow more than elements with lower flex values, at the ratio determined by the two elements.

height

The height of the bulletinboard in pixels. It is recommended that the CSS height property be used instead.

left

For elements placed within a bulletinboard, specifies the position of the left edge of the bulletinboard.

top

For elements placed within a bulletinboard, specifies the position of the top edge of the bulletinboard.

width

The width of the bulletinboard in pixels. It is recommended that the CSS width property be used instead.

JavaScript Properties and Methods:

Properties and Methods inherited from XUL Element