JonZ
04-03-2009, 12:59 AM
I tried to search all the day but I couldn't find any answers. I have a navbar on my portal, and I'd like to include dropdown of the same used from the forum.
i tried to import js in the header (vbulletin_menu.js and vbulletin_global.js ) and reproduce that part of code following that tutorial: http://www.vbulletin.com/forum/showthread.php?t=224641
<!--second menu init-->
<li id="custommenu" class="vbmenu_control">
<a href="#">Custom Menu</a>
<script type="text/javascript">vbmenu_register("custommenu");</script>
</li>
<!--end of second menu init-->
<!--second menu-->
<div class="vbmenu_popup" id="custommenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Custom Menu1</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
content row
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
content row
</td>
</tr>
</table>
</div>
I see the menus, but there's no effects.
What I am doing wrong?
i tried to import js in the header (vbulletin_menu.js and vbulletin_global.js ) and reproduce that part of code following that tutorial: http://www.vbulletin.com/forum/showthread.php?t=224641
<!--second menu init-->
<li id="custommenu" class="vbmenu_control">
<a href="#">Custom Menu</a>
<script type="text/javascript">vbmenu_register("custommenu");</script>
</li>
<!--end of second menu init-->
<!--second menu-->
<div class="vbmenu_popup" id="custommenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Custom Menu1</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
content row
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
content row
</td>
</tr>
</table>
</div>
I see the menus, but there's no effects.
What I am doing wrong?