PDA

View Full Version : Nav bar drop down menus


AllenMead
10-22-2004, 06:46 PM
I'm sure it's on here somewhere, I've done a search but can't find what i'm looking for. Can someone point me in the right direction. I want to add a customisable dropdown menu on my nav bar.

Thanks in advance

Neutral Singh
10-23-2004, 07:29 AM
same here :confused:

miz
10-23-2004, 05:53 PM
ok here is exsample code

in navbar template
Find :


<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>



After Add :

<td id="userteam" class="vbmenu_control"><a href="#userteam">$vbphrase[teams_navbar_title]</a> <script type="text/javascript"> vbmenu_register("userteam"); </script></td>



Find :



<!-- / NAVBAR POPUP MENUS -->
</if>



After Add :





<if condition="$bbuserinfo[userteamid]">
<!-- user team tools menu -->
<div class="vbmenu_popup" id="userteam_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">Team</td></tr>
<if condition="$bbuserinfo['teamadmin']"><tr>
<td class="vbmenu_option"><a href="teamadmin.php?$session[sessionurl]">Team Admin Area</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="teamprivtearea.php?$session[sessionurl]">Team Privte Area</a></td></tr>
<tr><td class="thead">All Teams</td></tr>
<tr><td class="vbmenu_option"><a href="showteams.php?$session[sessionurl]">User Teams List</a></td></tr>
</table>
</div>
<!-- / user team tools menu -->
</if>






its en exsample from my teams hack,

all you need is to change it to your needs

thats all

AllenMead
10-24-2004, 07:52 PM
cool, cheers dude :)

Krahl
01-31-2006, 05:30 PM
Anyone care to spend a few PMs with me dealing with this topic? I've tried to add the code above and from a few other threads like this, dealing with dropdown menus, but can't seem to get it to work properly. Probably just something dumb I'm doing but it's causing a bit of grief.

Bottom line, I'm trying to add a dropdown menu to a button but can't seem to get it figured out. If you're willing, I'd very much appreciate it.