Click or drag to resize
Menu

The acs:Menu defines either an inline menu or a contextual menu.

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

id

unique identifier for this menu

popup

true or false; if true, the menu is a contextual menu. Default: false

Child elements

Element

Description

acs:MenuItem

An item for this menu

Parent elements

Element

Description

any xhtml or xsl tag

Styling information

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>
Examples
<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>