Adding to the Navbar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blue Moose Aaron
    Senior Member
    • Oct 2002
    • 108
    • 3.0.7

    Adding to the Navbar

    Is there a way to add another drop down menu to the navbar?
  • JoergZ
    New Member
    • Aug 2002
    • 23
    • 3.8.x

    #2
    Yes it is.

    Find in the template navbar this:
    PHP Code:
     <!-- nav buttons bar --> 
    Below this the menu-points are defined. To add your own menu-point insert this:
    PHP Code:
     <td id="mymenu" class="vbmenu_control"><a href="#mymenu">My Menu</a> <script type="text/javascript"vbmenu_register("mymenu"); </script></td
    Then go to the bottom of the template and find
    PHP Code:
     <!-- / NAVBAR POPUP MENUS -->
    </if> 
    Before this add:
    PHP Code:
     <!-- My Menu -->
     <
    div class="vbmenu_popup" id="mymenu_menu" style="display:none">
      <
    table cellpadding="4" cellspacing="1" border="0">
      
      <
    tr><td class="thead">First selectionpointGameserver</td></tr>  
    <
    tr><td class="thead">Second selectionpoint</td></tr>
     
    </
    table>
     </
    div>
     <!-- / 
    My Menu--> 

    Jörg

    Comment

    • Blue Moose Aaron
      Senior Member
      • Oct 2002
      • 108
      • 3.0.7

      #3
      Thanks, that really helped me

      Comment

      • Danbc
        Senior Member
        • Oct 2001
        • 101

        #4
        So how do I put a submenu into this new menu?

        Fex, I got a IRC chat menu and a Flash games menu, I wanna put into a main menu called fun stuff.

        Comment

        • Slave
          Member
          • Jul 2001
          • 94
          • 3.6.x

          #5
          Superb .. that was just want I wanted ..

          It's a Savage Universe out there!

          Comment

          • Bryan Ex
            Member
            • Feb 2004
            • 88
            • 3.0.1

            #6
            This works great providing a user is logged in but I just get an anchor point at the top of the nav bar if I log out even though the other drop downs continue to work. Any suggestions on what I'm missing here?

            Comment

            • Bryan Ex
              Member
              • Feb 2004
              • 88
              • 3.0.1

              #7
              Got it... needed to move the closing </if> to above my menu points.

              Comment

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