Access Keys:
Skip to content (Access Key - 0)

Trying to build custom menu


This forum has now moved. These topics have been left as a read-only archive. Please create all new topics in the Community space.


I am building a left hand navigation menu based off of one found at cssplay. I started creating custom user macros but that ended quickly because of limitations.

Example desired menu HTML:

<div class="customMenu">
  <ul>
    <li><a class="hide" href="#">FAVORITES</a>
    <!--[if lte IE 6]><a href="#">FAVORITES<table><tr><td><![endif]-->
    <ul>
      <li><a href="#">REMOVE FAVORITE</a></li>
      <li><a href="#">ADD FAVORITE</a></li>
      <li><a class="hide" href="#">PAGES &gt;</a>
      <!--[if lte IE 6]><a class="sub" href="#" >PAGES &gt;<table><tr><td><![endif]-->
      <ul>
        <li><a href="#">PAGE 1</a></li>
      </ul>
      <!--[if lte IE 6]></td></tr></table></a><![endif]-->
      </li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    <li><a href="#">PREFERENCES</a></li>
  </ul>
</div>

I would be okay if I could have the menulink macro ONLY return the HREF. I would be eager to use velocity, and I have even read a lot of the documentation. But I find it extremely useless because how am I supposed to use any of the objects or methods if there isn't a list of them anywhere? Download the source code and blindly rifle through?

Help appreciated,
Frustrated user



Ask questions, get help and report bugs & issues on our Community Site

View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence