![]() |
How Do I Drop Down Menus in the Header?
Im looking to add some drop down menus in my header where i already have some navigation buttons.
I have tried to figure this out with this article but im really having no luck. https://vborg.vbsupport.ru/showthread.php?t=122523 Any help would be greatly appreaciated. |
Linking to the thread doesn't help since no one wants to go through the whole thing looking for where you posted. You should either link to your post, or repost it here.
|
I didnt post anything that i havent posted in this thread.
Im simply asking how to put drop downs in the header where i already have nav buttons? Then i stated i tried to see if i could use the technique in the thread i linked. What would i need to copy from the other thread where i tried to help someone else use that article? |
I thought you posted some code. You can use that article to make your dropdowns wherever you like. If it's in the header, then put it in the header.
|
Well i tried this in my header with no success.
I dont have any of the code that the article is talking about so i just added the code were i thought it might go. I put this below the last button code in the header Code:
<td id="custommenu" class="vbmenu_control"> Code:
<div class="vbmenu_popup" id="custommenu_menu" style="display:none"> :( |
We need to see about 10 lines above and below your added code so we can see what else is going on. We have no idea what your header template looks like, so how can we possibly help without getting some idea from you about what it looks like?
|
Here is my whole header.
Im wanting to turn the stuff in red into menus with additional dropdown items. Thanks for your help. Code:
<div id="wrap"> |
I think you'd have to totally redo the links in your navbar in order to do dropdowns like in that article. The article is based around the links being in table cells and your navbar links are not. So, you would have to either redo it completely like how vbulletin does it, talk to the style designer about redoing it for you, or google another dropdown menu option to use.
|
Im fine with redoing them i dont need the hoover feature im not even using that so if we need to turn them in to regular nav code thats fine.
I just need it to be a vertical navebar and on the right side of my header like: Nav Button 1 Nav Button 2 Nav Button 3 Nav Button 4 Then when you click them the drop dowsn open. |
Well, create a table to hold the links and follow the article on how to make each of the links dropdowns.
|
Do you think you could help me by telling me how to make sure my table stays to the right of the header?
--------------- Added [DATE]1253308780[/DATE] at [TIME]1253308780[/TIME] --------------- Yeah im dead lost on this one i get one link that fails and just pops me to the top well near it and no drop down. |
When you say you are lost, the best thing to do is post your code so people can point you in the right direction.
|
Lynne,
Though i appreciate your fast replies they dont help me. You keep talking to me as if im a master coder/programer. So telling me to make a table and follow the article doesnt help, expecially since the article is written specificly for existing navbars and i am neither have a existing navbar nor am i even in the navbar template. So the items that the article is telling me to search for are not there for me to use the article against. Code:
<div class="fright" id="nav"> |
The basic structure of a table is:
HTML Code:
<table> |
Thanks i understand that, but how do i apply the article?
Like i have above? |
What you did above is just gonna be screwed up because you have no table (<table>) or row (<tr>) tags.
Your id tags are off on the popups. Read the article about that - they have to correspond to the link in the navbar. |
Hows this?
Code:
<div class="fright" id="nav"> |
You still don't have your ids correct. This is from the article, look at the stuff in red - they must all be the same:
Code:
<td id="custommenu" class="vbmenu_control"> Code:
<div class="vbmenu_popup" id="custommenu_menu" style="display:none"> Code:
<table> |
Ok i think i got what you said, the id thing i put the name in the wrong spot.
Hows this now? Code:
<table> |
You got rid of a needed </td> tag. Also, didn't you say you want this vertical? If so, each link needs to be it's own row. Something more like this:
HTML Code:
<table> |
Ok, i got it now
Is there a way to replace the "vbmenu_control" with a image? The controls are to large for where im putting them? Thanks Lynne --------------- Added [DATE]1253510494[/DATE] at [TIME]1253510494[/TIME] --------------- How does this look? HTML Code:
<table> |
Your code looks fine now except the FAQ link - you need to put it in <td> tags:
HTML Code:
<tr><td><a href="http://www.yoursite.com/forum/faq.php">Frequently Asked Questions</a></td></tr> |
1 Attachment(s)
Ok i got one picture.
If i could i would like to use the original images for the new menu so it doesn't break the template. Also i noticed when you click the drop down i tried to make a break in the menu but didn't seem to work for me. the review links are at the top of the menu instead of after the review break same think with the garage vendors list. |
I really don't understand what you are talking about. As I said before, an image showing what is happening now and an image showing what you want to happen would really help.
|
Sorry i had used a IMG Tag to show the picture, but i didnt reaalize that my site is producing invalid urls for albums.
I thinks its anti-leach protection maybe my vbseo. idk I added it to the last post. --------------- Added [DATE]1253655656[/DATE] at [TIME]1253655656[/TIME] --------------- Lynne, Can you see the image now? |
Does anyone know how to do this?
Im wanting to replace the control with a image or create a new menu option so it doesnt break my template and like like it does now? |
I don't know what you mean by "break your template". You image just shows some drop down boxes and they look just like dropdown boxes should to me. If you mean they are too tall, you can reduce the line height or get rid of the arrows (there are other threads about getting rid of the arrows - just do a search).
|
I was wondering if there is a way to use a image in place of the buttons that arte there so it will lok like it did before i added the drop menus.
|
I've never tried that, but have you tried replace the text with image code? ie. Instead of Supporting Vendors put in <img src="wahtever.jpg" alt="Supporting Vendors" />
|
Quote:
|
I don't know what you mean about "pushing the gradient behind it" but I'll assume you are talking about some styling. So, find what is giving it the gradient and change it - remove the class or use inline styling to replace it or something like that.
|
All times are GMT. The time now is 06:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|