The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Dropdown box In Postbit
I want to add a link in my Psotbit that has a drop down box - not the one you get when you hover over a members name - but seperate link...
any help on how to do this? |
#2
|
||||
|
||||
In the articles forum is an article on adding dropdowns to your navbar. The basic premise is the same for adding dropdowns anywhere. So, just follow that article - How To Add Drop Down Menus To Your Navbar
|
#3
|
|||
|
|||
thank you - that went back to 2006 i think so i didnt know if that still applied - thanks again.
--------------- Added [DATE]1234285188[/DATE] at [TIME]1234285188[/TIME] --------------- I got it to work - however for some reason now there are like 8 down arrows after the link - i know there should be 1 but im not sure why repeating. |
#4
|
||||
|
||||
Well, the only way someone can help with that is to see the code you used.
|
#5
|
|||
|
|||
I did this in the postbit_legacy where I wanted the item to show
Code:
<if condition="$show['popups']"> <td id="albummenu"> <a href="#">Album Menu</a> <script type="text/javascript"> vbmenu_register("albummenu"); </script> </td> </if> In the navbar area i put Code:
<div class="vbmenu_popup" id="albummenu_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">Album Menu</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> content row </td> </tr> </table> </div> |
#6
|
||||
|
||||
Your id must be unique. So, use something like albummenu_menu_$post[postid]
You should supply a link to a page so we can see what is going on. |
#7
|
|||
|
|||
This is killing me...
Postibit Legacy Code:
<if condition="$show['popups']"> <td id="albummenu_menu_$post[postid]"> <a href="#">My Albums</a> <script type="text/javascript"> vbmenu_register("albummenu_menu_$post[postid]"); </script> </td> </if> Navbar Code:
<!-- Album Menu --> <div class="vbmenu_popup" id="albummenu_menu_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">My Album</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> content row </td> </tr> </table> </div> <!-- /Album Menu --> link http://www.hobbyboxreviews.com/forum...2146#post12146 --------------- Added [DATE]1234292783[/DATE] at [TIME]1234292783[/TIME] --------------- Ok some of the problem might have been I put the navbar stuff in navbar insted of postbit_legacty I put both items in postbit legacy and the dropdown box nows works - BUT when you click it it still takes you to that post - and there are errors... New Code - BOTH in postbit_legacy Code:
<if condition="$show['popups']"> <td id="albummenu_$post[postid]"> <a href="#">My Albums</a> <script type="text/javascript"> vbmenu_register("albummenu_$post[postid]"); </script> </td> </if> Code:
<!-- Album Menu --> <div class="vbmenu_popup" id="albummenu_$post[postid]_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">My Album</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> content row </td> </tr> </table> </div> <!-- /Album Menu --> |
#8
|
||||
|
||||
I see a dropdown. But, all you have is "content row" and it isn't linked to anything so what do you think is supposed to happen?
|
#9
|
|||
|
|||
Lynne,
Im sorry I dont know what I was thinking...my head was in a fog - all set now...thank you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|