![]() |
Add A Drop Down Menu In Nav
Add A Drop Down Menu In Your Navigation
What does it do? add a drop down list for your navigation Template to edit: Navbar Instructions: open template: navbar find: Code:
<if condition="$show['registerbutton']"> Code:
<td id="yourmenu" class="vbmenu_control"><a href="$show[nojs_link]#YOURMENU">NAME</a> <script type="text/javascript"> vbmenu_register("YOURMENU"); </script></td> In same template Find: Code:
<!-- / NAVBAR POPUP MENUS --> Code:
<if condition="$show['member']"> Code:
<tr><td class="vbmenu_option"><a href="LINK">NAME</a></td></tr> Code:
</if> Change all Code:
YOURMENU Code:
LINK Code:
NAME It seem hard but it pretty easy if you understand those and where to find and edit them |
Any idea why my dropdown menu would open to the far left of my screen instead of directly beneath the menu link?
http://www.hometheatershack.com/forums (Shack Stores Shopping Mall) Thanks, Sonnie |
oh that easy.. cuz your dropdown menu is in the second navbar move that to the top nav and it will work fine
|
I moved it to the top, but it still wants to dropdown at the far left of the dropdown link.
Notice that UserCP drops down centered. I have everything the same for those two except the names and links. Doesn't make much sense. |
I can't get this to work in 3.6.5
It shows the link on the navbar, but no little downarrow. And when you click it, the page reloads with the non-js navbar displayed. |
I reverted my navbar template, then it worked great. Thanks.
|
Been looking for this for ages, finally found it. Working great on 3.6.5.
Thanks a lot. :) |
Installed. So, I changed the code but I'm not sure what to do for the "LAST PART CHANGE ALL" Little help please
|
I'm wondering if this menu can be implemented into any other buttons? I have buttons on the top of my site and i would rather have the drop down menus there as the navbar is not enabled on the main page.
Here is the button code. Code:
<td><a href="LINK"><img src="$stylevar[imgdir_misc]/links_gallery.gif" alt="" width="100" height="29" border="0"></a></td> |
Any help with the FAR LEFT issue would be nice. Ever since I added this my Quick Links also is skewed left.
|
man come on lol shocking
|
Anyone gotten this to work in 3.6.8 or know of other ways to add custom drop menus to the navbar? I have done everything but I think I am screwing up on the yourmenu YOURMENU replacement. I tried only replacing the capitalized YOURMENU and not the lower case one, but no good. The menu title shows up as a link, with no drop down menu or links. The link points to /forum/index.php?nojs=1#MYMENU instead of the intended address that I replaced LINK with: /forum/local_links.php?catid=1
Any help would be appreciated. Thanks~ |
Hi Tminus,
I've had your same problem. I really don't know why everything were fixed once I changed all YOURMENU with another word. Greetings Stefano |
Quote:
|
Hi, I've just substitued all the YOURMENU (4 in navbar) with "Gallery".
And now it works. I don't know why, honestly ;) greetings Stefano |
Quote:
|
Ops, sorry!
not yet. Now is 3.6.7 Bye Steve |
How do you fix the problem with this moving too far to the left????
Thanks |
Quote:
|
Thanks, but I'm moving this code everywhere and it is not fixing the problem, what to do please?
|
ok i have a problem here, I have made this and is working but having a class issue.
with certain non default skins the background is not right, when i remove the class=vbmenu_control part it displays correctly in non-default type skins but then messes up button background on default type skins(we have 4 installed 2 default type using class and 2 that are diff type, using no class). Any help to fix this so it shows properly on all skins would be awesome!! TIA, Will |
Quote:
Quote:
|
i couldn't use it
it just add a simple link in the navbar |
Quote:
|
Quote:
Quote:
|
installed and working in vb3.7 beta5... thanks!
|
installed and works perfectly first time :) Thanks
|
Im not getting a dropdown menu.
When i clink on NAME, it opens stuff in the nav bar link, mark forum as read, view buddy list. This has never been in there. This was in my Quick Links drop down menu. Edit: Could it be a problem is im using 3.6.8? |
Quote:
Same here |
I had all sorts of problems with it, ended up adding links into the "Quick Links" drop down menu as my Navbar was getting a bit cluttered.
I am using 3.5.8 as well. |
You there?
|
All times are GMT. The time now is 12:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|