Platform SDK: Web Telephony Engine |
Each menu in a Web telephony application must have a menu owner. The elements BODY, FIELDSET, P, MENU, DIR, UL, DL, and OL can serve as menu owners for anchor elements (A).
BUTTON elements are considered menu items only if they are contained in a FIELDSET element. In this case, the FIELDSET element is the menu owner. If the FIELDSET element appears inside an existing menu, any buttons in the FIELDSET element are joined to the existing menu.
The FORM element serves as a menu owner for all the INPUT elements inside it.
For areas inside an image map, the IMG element serves as the menu owner. If there is already a menu owner, the areas are joined with that owner.
Radio controls do not have a menu owner. The whole radio group is offered once when the WTE encounters any INPUT TYPE=radio element from the group for the first time.
The owner of a menu defines the scope of the menu. That is, a menu begins at the owner's start tag and ends at the owner's end tag. The WTE gathers all items within the menu's scope and offers them to the caller. The offering of a menu to the caller is known as the menu announcement.
For intrinsic controls, the menu announcement consists of items starting from the parent FORM element, the previous control, or another menu (the closest to the intrinsic control). For a menu created by INPUT TYPE=(button, submit, reset, or image) element, the menu announcement consists of items starting from the parent FORM element, the previous control that is not an item of this menu, or another menu. The menu announcement concludes at the end of the parent FORM element, the next control that is not an item of this menu, or another menu. For more information, see INPUT.