Defines an entry in a menu, including an item that is the head of a submenu.
<cfmenuitem>
cfmenuitem();
true
false
Here, We have created simple menu items. The main menu having two submenu items such as My account, Project display.It is supported in cf 10,11 & 16.
<cfmenu name='menu' type="horizontal" fontsize="14" bgcolor="##CCFFFF">
<cfmenuitem name="Home" display="Home"/>
<cfmenuitem name="Main" display="Main">
<cfmenuitem name="MyAccount" display="My Account"/>
<cfmenuitem name="ProjectDisplay" display="Project Displaay"/>
</cfmenuitem>
</cfmenu>
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.