The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to re-use vB dropdown menues in the home portal of my site.
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 Code:
<!--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> What I am doing wrong? |
#2
|
||||
|
||||
Perhaps the path is wrong? Maybe the id is not unique? It's hard to tell without being able to see your (non)working page.
|
#3
|
|||
|
|||
maybe because i use a different vB version? (using v3.7.3). I can't really show you my non working page here but can i pm you the instruction on how to access it?
|
#4
|
||||
|
||||
Yeah, you can PM it to me. I just want to look at the page source and see if the paths are correct and such.
|
#5
|
|||
|
|||
PM sent, thanks!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|