• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

menu and sub-menu

Explorer ,
Sep 21, 2009 Sep 21, 2009

Copy link to clipboard

Copied

Hi,

Is anyone knows where to find an example for creating the menu and sub-menus in coldusion?

thanks

kt

TOPICS
Advanced techniques

Views

798

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Sep 21, 2009 Sep 21, 2009

Copy link to clipboard

Copied

Well here is one I currently use in one site.

<ul id="menu">

  <li>Item 1</li>

  <li>Item 2</li>

  <li>Item 3</li>

</ul>

<ul>id="subMenu">

  <li>subItem 1</li>

  <li>subItem 2</li>

  <li>subItem 3</li>

</ul>

But then I wouldn't know why you would bother with ColdFusion for this.  But then I am guessing that you want something different, but your post gives absolutely no clue on what that something might be.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 21, 2009 Sep 21, 2009

Copy link to clipboard

Copied

Some really obvious suggestions are:

* Google "coldfusion menu".  There are quite a number of matches.

* I imagine you could even search these forums or just read the recent posts.  I've been discussing this with another posted within the last week.

* Do a bit of RTFM.  I suggest starting here, with the aptly named <cfmenu>: http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_m-o_04.html#2929198

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 22, 2009 Sep 22, 2009

Copy link to clipboard

Copied

LATEST

here is a simple example using cfmenu:

<cfmenu name="menu" type="horizontal"
         fontsize="14"  font="Verdana, Arial, Helvetica, sans-serif"  bgcolor="##ff9f40;"
        selecteditemcolor="##dd6b04" selectedfontcolor="##FFFFFF" menustyle="border: 1;">
    <cfmenuitem name="cfdiv" href="test1.cfm" display="Test1" />
    <cfmenuitem name="cfdiv2"  href="test2.cfm" display="Test2"/>
    <cfmenuitem name="JavaScripts"  display="JavaScripts">
        <cfmenuitem name="test3" href="test3.cfm" display="test3"/>   
        <cfmenuitem name="test3a" href="test3a.html" display="test3a"/>   
    </cfmenuitem>
    <cfmenuitem name="Examples"  display="Examples" >
        <cfmenuitem name="cfgrid" href="cfgrid.cfm" display="CFGrid"/>   
        <cfmenuitem name="cfgridwin" href="cfgridwindow.cfm" display="CFgrid in Popup Window"/>                   
        <cfmenuitem name="monthDay" href="ymd.cfm" display="day base on month selected"/>                                
    </cfmenuitem>
    <cfmenuitem name="cfmenu" href="http://tutorial16.learncf.com/demo/16" display="cfmenu on the fly"/>
</cfmenu>

hope it helps.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation