Log in

View Full Version : DropDown Link on NavBar


iogames
07-07-2008, 09:08 PM
Well, I searched for the solution and I tested Kerry Anne's dropdown in Navbar but it didn't work although I did it twice... :rolleyes:

Basically I want to add a Link to NavBar with 2 Options:

+ Link
Option1
Option2

Point me pls

veenuisthebest
07-07-2008, 10:47 PM
Find this in navbar template:-

<span id="usercptools"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></span>

Add this after:-

<span id="helpmenu"><a href="$show[nojs_link]#helpmenu">Help</a> <script type="text/javascript"> vbmenu_register("helpmenu"); </script></span>

Note: id="helpmenu" is the key. SO, change it accordingly at all places above.


Then place the below code whereever you want to place the menu.


<!-- Help popup menu -->
<div class="vbmenu_popup" id="helpmenu_menu" style="display:none" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Help</td></tr>
<tr><td class="vbmenu_option"><a href="file1.php">Link1</a></td></tr>
<tr><td class="vbmenu_option"><a href="file2.php">Link2</a></td></tr>
<tr><td class="vbmenu_option"><a href="file3.php">Link3</a></td></tr>
</table>
</div>
<!-- / Help popup menu -->


Hope this helps !!

iogames
07-07-2008, 11:29 PM
Thanks I knew you knew!

Dismounted
07-08-2008, 05:41 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=122523" target="_blank">How To Add Drop Down Menus To Your Navbar</a>