PDA

View Full Version : Can someone help me with Nav Menus..... Thanks


kderentz
11-21-2008, 05:17 PM
Hey guys Im not very confident with Javascript and I semi confident with CSS ... so I had a Noobish question that I though you guys could help me out with.

Currently on my site I have my Nav links set up as text html links (nothing fancy at all).

However now with the addition of a blogs section, a garage, and possibly some other stuff Im running out of room on my style. Is there any way to add in a simple drop down menu so I can combine some stuff? Liek for example I was thinking of making a Nav link that says "Databases" and when you roll over it a drop down comes out with Track Database and Video Database under it and then something similar for the Blogs and User CP links.

I was reading some tutorials on suckerfish menus but I couldnt seem to get them working. :confused:

Any help would be great! Thanks in advance!

Lynne
11-21-2008, 06:11 PM
search "drop*" "articles" "titles only" and you'll get this - How To Add Drop Down Menus To Your Navbar (https://vborg.vbsupport.ru/showthread.php?t=122523&highlight=drop%2A) (there are a couple of others that may be of interest also).

kderentz
11-21-2008, 06:44 PM
search "drop*" "articles" "titles only" and you'll get this - How To Add Drop Down Menus To Your Navbar (https://vborg.vbsupport.ru/showthread.php?t=122523&highlight=drop%2A) (there are a couple of others that may be of interest also).


Lynne-

Thanks for the reply :D

I was looking at that thread .... but I guess Im not too sure how to implement it.

All of the code I put above is in the "header" and not in the "navbar" I can put the code that says in the navbar .... but wasnt sure how to call in when adding the links to my exsisiting code in the Header. Sorry for my noobness.

Lynne
11-21-2008, 06:49 PM
Just put it in the header instead of the navbar. The general idea of how to do this is the same no matter what template it is in.

kderentz
11-21-2008, 07:11 PM
I just followed the tutiorial on here:

https://vborg.vbsupport.ru/showthread.php?t=122523

by putting the code in the navbar template and it totally broke my theme. Im guessing the way the theme is I need to input this code into my header template.



Where would I add

<td id="custommenu" class="vbmenu_control">
<a href="#">Custom Menu</a>
<script type="text/javascript">
vbmenu_register("custommenu");
</script>
</td>

and

<div class="vbmenu_popup" id="custommenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Custom Menu</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
content row
</td>
</tr>
</table>
</div>

?

Also is there other code in the navbar template that is required to get this to work?

--------------- Added 1227302130 at 1227302130 ---------------

Got it ... just throw it in where I want it to show up. Thanks for your help!!