PDA

View Full Version : Making Drop Down menus


AuroraAlpha
05-17-2006, 10:14 PM
Ahh! I did something wrong, I am reporting thiss to a mod to be deleted, you can to if you get it before me.

peterska2
05-17-2006, 10:23 PM
Ok, firstly you should use the modification requests or general vBulletin questions for this type of question.

Anyway, while I'm here, here is the answer.

locate your template navbar

find

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

replace with


<td id="custommenu" class="vbmenu_control"><a href="$show[nojs_link]#custommenu">TEXT HERE</a> <script type="text/javascript"> vbmenu_register("custommmenu"); </script></td>


find


<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->


add below


<div class="vbmenu_popup" id="custommenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">TITLE</td>
</tr>

<tr><td class="vbmenu_popup"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td></tr>
<tr> <td class="vbmenu_popup"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
<tr> <td class="vbmenu_popup"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td></tr>
</table>
</div>


follow the template to add additional links to the menu via the final edit

AuroraAlpha
05-17-2006, 10:25 PM
Thank you so much, I will make sure I am in the right place next time. I asked a mod to delete it, so I dunno what will happen to it, but thanks you are amazing.

peterska2
05-17-2006, 10:26 PM
Happy to help. I'm sure they will move it to a more appropraite forum.

Marco van Herwaarden
05-18-2006, 08:20 AM
We'll leave it here, since answers have been given. A pitty you removed your original question.