![]() |
vbpopup pulldown menus
i need a little help. could somebody provide me with an example of how to make a custom pulldown menu for the navbar? ive looked through the navbar code and i cant tell where a popup starts and where it ends. so if you could just show me the begining a sample of how to add list items and the end, it would be a huge help. thanks!
|
Here's the navbar link in a table cell
Code:
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> Code:
<div class="vbmenu_popup" id="usercptools_menu" style="display:none"> |
THANKS.
so in order to create a custom menu, besides the contents of the menu table, what do i need to change? like im sure i change "id="usercptools"" to what the new menu is called? then do i also change this: "vbmenu_register("usercptools");" to the name for the new menu? tell me why this doesnt work: Code:
<!-- MENU: NAVBAR TABLE --> |
Replace the above with:
Code:
<!-- MENU: NAVBAR TABLE --> What I've highlighted in red is what you were missing. :) |
All times are GMT. The time now is 05:01 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:
|