XUL Programmer's Reference Manual

<popupset>

Attributes Common Children
id popup

 
 

<popup>

Attributes Common Children
id titledbutton
oncreate window
ondestroy menu
oncommand  

The XUL language provides a way for developers to declare that a XUL subtree is popup content, meaning that the content is displayed in its own window when a certain event occurs (e.g., a right mouse click to bring up a context menu, or a left click to bring up a popup color picker on a toolbar). There are two kinds of popup content: menus and windows. Popup menus use the native menus on each platform and are described using menu and menuitem elements. Popup windows can contain arbitrary XUL, and are full-fledged XUL windows, declared using the window tag.

See popups for more information about using popups in XUL.
 

Last updated: 4/13/00 Ian Oeschger