The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to setup a navbar on my homepage, but this navbar will have completely different options from the one in the forum. I am trying to keep things looking consistent from the HP to the Forum.
Any how, at this point I am pulling in my forum CSS and JAVA files just fine, at least I believe so. I added an alert to vbmenu_register() and the function was triggered when the page loaded plus my navbar looks like my forum navbar. My problem is, my dropdown menu isn't being displayed. Here are some snippets of my code: I am including these files: HTML Code:
<SCRIPT type="text/javascript" src="./forum/clientscript/vbulletin_global.js?v=367"></SCRIPT> <SCRIPT type="text/javascript" src="./forum/clientscript/vbulletin_menu.js?v=367"></SCRIPT> <SCRIPT type="text/javascript" src="./forum/clientscript/vbulletin_inlinemod.js?v=367"></SCRIPT> HTML Code:
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="950" align="center" style="border-top-width:1px; border-bottom-width:1px"> <tr align="center"> <td id="navbar_x" class="vbmenu_control"><a href="#">X Info</a><script type="text/javascript"> vbmenu_register("navbar_x"); </script></td> </tr> </table> HTML Code:
<div class="vbmenu_popup" id="navbar_x_menu" style="display:none"> <table width=140 cellpadding="4" cellspacing="1" border="0"> <tr> <td class="vbmenu_option"><a href="http://www.somelink.com/" target="_blank">Option A</a></td> </tr> <tr> <td class="vbmenu_option"><a href="http://www.someotherlink.com" target="_blank">Option B</a></td> </tr> </table> </div> Thanks! Nevermind, I figured it out.... When the page loads you need to issue HTML Code:
vBmenu.activate(true) |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|