The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding Hover Menu Items
I've inserted the following code in Hook Location location process_templates_completion. The menu appears but the submenu items don't appear until its clicked. Is there a way to change this so that the items appear as you hover over them without the click?
$template_hook['navtab_end'] .= '<li class="popupmenu"> <a href="javascript://" class="popupctrl navtab">Menu Test</a> <ul class="popupbody popuphover"> <li><a href="sublink1.php">SubLink 1</a></li> <li><a href="sublink2.php">SubLink 2</a></li> <li><a href="sublink3.php">SubLink 3</a></li> </ul></li>' ; TIA, Tony |
#3
|
|||
|
|||
Thanks, that worked like a charm!
I just noticed that if I change the href to a valid page, it is not clickable. Is there another class I should use? Where can I find a reference docs for this? $template_hook['navtab_end'] .= '<li class="popupmenu hovermenu"> <a href="menutest.php" class="popupctrl navtab">Menu Test</a> <ul class="popupbody popuphover"> <li><a href="sublink1.php">SubLink 1</a></li> <li><a href="sublink2.php">SubLink 2</a></li> <li><a href="sublink3.php">SubLink 3</a></li> </ul></li>' ; Thanks, Tony |
#4
|
|||
|
|||
I don't think it works that way - it either opens a menu or it's a link.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|