PDA


View Full Version : How to add dropdown menus in navbar???


cdembek
01-29-2006, 12:05 AM
Help please...

Most times I get lucky with copy and paste... to get things to work..

But I am lost.. I have spent the last 2 hours searching for a tutorial/example


Can someone provide me with an example of how to add dropdown menus in navbar

What I am looking to do is ...

Site Links!
link 1
link 2
link 3
link 4
so on and so on..

Please please someone get me going in the right direction..

cdembek
01-29-2006, 06:46 PM
anyone..

cdembek
01-29-2006, 10:20 PM
So far I know that there are 2 parts..

as an example I took the code from "quick links" edited it to the following.. part A and part B.... I can get the added menu item "Maps" to show up with the drop down arrow to show up but nothing drops down.

Part A code

<if condition="$bbuserinfo['userid']">
<td id="maps" class="vbmenu_control">
<a href="$show[nojs_link]#maps">Maps</a>
<script type="text/javascript"> vbmenu_register("maps"); </script></td>
</if>


Part B code

<!-- maps -->
<div class="vbmenu_popup" id="maps" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">Quad Maps</td></tr>


<tr><td class="vbmenu_option"><a href="$session[sessionurl]">Stock Maps</a></td></tr></if>


<tr><td class="vbmenu_option"><a href="$session[sessionurl]">User Custom Maps</a></td></tr>

<tr><td class="thead">Bike Maps</td></tr>

<tr><td class="vbmenu_option"><a href="$session[sessionurl]">Stock Maps</a></td></tr></if>


<tr><td class="vbmenu_option"><a href="$session[sessionurl]">User Custom Maps</a></td></tr>


</table>
</div>
<!-- / maps -->



Can someone please help??

cdembek
01-29-2006, 10:48 PM
Think I found my answer here

http://www.vbulletin.com/docs/html/main/templates_vbmenu

ADT
03-22-2006, 04:54 PM
Found my answer there too :)