| Menu |
The acs:Menu defines either an inline menu or a contextual menu.
The following sections describe attributes, child elements, and parent elements.
Attribute | Description |
|---|---|
id | unique identifier for this menu |
popup | true or false; if true, the menu is a contextual menu. Default: false |
Element | Description |
|---|---|
An item for this menu |
Element | Description |
|---|---|
any xhtml or xsl tag |
The XHTML structure created by the acs:Menu is the following:
<ul id="{@id}" class="menu [if @popup='true']menu-popup invisible[endif]"> <!-- for each acs:MenuItem, a li tag, see the acs:MenuItem control --> </ul>
<acs:Menu id="myid"> <acs:MenuItem id="myid1" label="My first item" action="goto1()"/> <acs:MenuItem id="myid2" label="My second item" link="http://www.yoocan.fr" target="_blank"/> </acs:Menu>