navbar, adding a drop-down list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Endlesskiss
    Member
    • Dec 2008
    • 92

    navbar, adding a drop-down list

    I'm trying to add a drop-down list like the quick-links one (in the navbar)...

    However I couldn't find where the quick-links are defined, and therefore I failed making such a list..

    Could anyone guide me please?

    Thanks from advance!
  • Dody
    Senior Member
    • Aug 2004
    • 1896
    • 3.8.x

    #2
    The dropdown links are defined as <li> elements. You dropdown lin should be formed something like the following:

    HTML Code:
     <li id="yui-gen5" class="popupmenu">      <a id="yui-gen7" class="popupctrl" href="javascript://">YourTitle</a>      <ul id="yui-gen6" class="popupbody" style="display: none; top: 19px; left: 0px; right: -38px;">         <li>               you first item         </li>         <li>               etc...         </li>     </ul></li>
    while(true){
    if(
    $someone->needsHelp() && $i->canHelp()) $post->help();
    if(
    $i->findBug()) $post->bug();
    }

    Comment

    • Lynne
      Former vBulletin Support
      • Oct 2004
      • 26255

      #3
      The dropdown links aren't <li> elements in 3.8.

      See this article for adding dropdowns in 3.x - How To Add Drop Down Menus To Your Navbar

      Please don't PM or VM me for support - I only help out in the threads.
      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
      Want help modifying your vbulletin forum? Head on over to vbulletin.org
      If I post CSS and you don't know where it goes, throw it into the additional.css template.

      W3Schools &lt;- awesome site for html/css help

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...