Announcement

Collapse
No announcement yet.

Adding to the Navbar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding to the Navbar

    Is there a way to add another drop down menu to the navbar?

  • #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


    • #3
      Thanks, that really helped me

      Comment


      • #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


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

          It's a Savage Universe out there!

          Comment


          • #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


            • #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...
              X