![]() |
|
Article Options |
Add a Drop Down Menu - Relative Positioning
by
![]() Rating:
![]() Ok so we have read the "Add Drop Down Menu To Navbar" and this gives us a drop down menu like this: ![]() But we still need/want the menus to display under the Text link rather then to the left of the table cell the Text link is located in. Like This: ![]() This tutorial explains how to create an additional drop down menu in your default/stock vB navbar, with the drop down menu showing under the Link. Firstly, locate in your "navbar" template the first instace of:
Then add after it:
Replace Custom Menu with the title for this menu which you want displayed on your navbar and custommenu with the name that you want to give your link. Note that spaces are not to be used as this will break the connection with the actual menu. Next, in your "navbar" template find:
Then add after it:
Ok so you will need to edit the links that point to my site to your own site links, if you wish to add more than one menu, repeat the process for each one, ensuring that you use a different name for each menu otherwise they will not function correctly. . No members have liked this post.
Last edited by Lee Roberts; 03 Oct 2008 at 10:17.. |
||||||||||||||||
Views: 7485
|
Comments |
#2
|
||||
|
||||
Now you will see that my screen shots above show a second nav bar, this is somthing else i added to my site (vB), below is a copy of my whole "navbar" template.
If you want the second nav bar then simply copy all of the code below into YOUR "navbar" template, editing as you need to obviously.
Hopfully this will help quite a few of you out, any problems post here and i will support you as and when i can. Lee No members have liked this post.
Last edited by Lee Roberts; 03 Oct 2008 at 11:28. |
#3
|
||||
|
||||
Dont forget to click "installed"
![]() No members have liked this post.
Last edited by Lee Roberts; 17 Jul 2012 at 11:27. |
#4
|
||||
|
||||
Thats intresting, if you goto the main vb forums they seem to be doing this on there links. Cool
![]() No members have liked this post.
|
#5
|
||||
|
||||
moving to Articles
__________________
Former vBulletin.org Staff Member Latest Articles: Liquid Layout = Less Ad Revenue? How to Monetize Your Site Improve Web Page Performance How To Write For The Web If it needs instructions, there's room for improvement. Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them! No members have liked this post.
|
#6
|
|||
|
|||
Is it possible to do this with IMAGE LINKS instead of text links?
As well... could I do this in the "HEADER" template, instead of the navbar template? No members have liked this post.
|
#7
|
||||
|
||||
I'd like a drop menu but under avatar. Is it posible?
No members have liked this post.
|
#9
|
||||
|
||||
Is it possible somehow to have branches off the dropdown menu for subcatagories?
No members have liked this post.
|
#10
|
||||
|
||||
Another question, I seem to have used up vBulletin's capacity for maximum characters in the Template for my navbar because of adding to the menus. Is there anything I can do to be able to add still more?
No members have liked this post.
|
#11
|
|||
|
|||
Doesnt work for me......put the codes in the specified location and no link shows up on my navbar
No members have liked this post.
|
#12
|
||||
|
||||
Are any of you still intrested in this or having problems?
__________________
My Blog: Lee Roberts.me My Mods: vBMQN - Moderation Queue Notifications, vBUT - User Group User Titles & Custom User Titles No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 05:45.