Dropdown

Cupara

Well-known member
I'm trying to create a custom drop down within thread list of a forum. Not sure what I need to do to get a list of items into a drop down list.

Thanks
 
Wrap your code in <div class="Popup">, followed by link and then menu block that has class .Menu. Something like this:
Code:
<div class="Popup">
    <a href="whatever" rel="Menu" data-closemenu="true">menu link</a>
    <div class="Menu JsOnly">
        menu block here
    </div>
</div>
For menu block (4th line in code I posted above) use code like this
Code:
<div class="primaryContent menuHeader">
     <h3>Menu Title</h3>
    <ol class="secondaryContent blockLinksList">
        <li><a class="menuRow" href="whatever">Test Link</a></li>
    </ol>
</div>

For examples of menu code look in following templates:
  • node_category_level_n.html (menu item) or node_forum_level_n.html
  • node_category_level_2.html (menu, code starts at beginning of second half of template) or node_forum_level_2.html
 
Top Bottom