How To Add Drop Down Menus To Your Navbar
I think everyone has encountered the situation at some point or other where their navbar has got very cluttered and they are faced with either adding yet another navbar, or adding some dropdown menus to group some items.
This tutorial explains how to create an additional drop down menu in your navbar. Firstly, locate in your navbar template the first instace of Code:
<if condition="$show['popups']"> Code:
<td id="custommenu" class="vbmenu_control"> Next, in your navbar template find Code:
<!-- NAVBAR POPUP MENUS --> Code:
<div class="vbmenu_popup" id="custommenu_menu" style="display:none"> The content row should be replaced with the actual menu item that you want to have in your new drop down menu. Repeat the code Code:
<tr> If you wish to break your menu into sections like the quicklinks use then add Code:
<tr> The content added should be in the normal html format for links. If you wish to add more than one menu, repeat the process for each one, ensuring that you use a different name for each menu otherwise they will not function correctly. I hope you find this useful. |
Grr, I cant get it to go.
|
can you post the code that you are using?
|
So wait, what exactly do I put in the content area? Like if I wanted a link, I'd put:
Code:
<a href="blah"></a> See, I did all that I think and it doesn't even show up on the bar. |
you would put
Code:
<a href="URL">title</a> |
Ah yes, thats what I meant :p.
Okay, I got that, but it still isn't showing up on the navbar. Any ideas as to how I am messing up? And thanks for your time, I am not a technical guy.. I can see a link below the bar, but when I click it it just jumps to the top |
can you post your entire navbar template and I'll take a look at what you have done
|
Code:
<script type="text/javascript"> |
Code:
<script type="text/javascript"> You had put your first section in the wrong place. There are two instances of Code:
<if condition="$show[popups]"> |
Oooh, I see. Thanks!
Okay, now its in the navbar, but now it just serves as a dead link to no where... |
All times are GMT. The time now is 01:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|