vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Can someone help me with Nav Menus..... Thanks (https://vborg.vbsupport.ru/showthread.php?t=196884)

kderentz 11-21-2008 05:17 PM

Can someone help me with Nav Menus..... Thanks
 
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 (there are a couple of others that may be of interest also).

kderentz 11-21-2008 06:44 PM

Quote:

Originally Posted by Lynne (Post 1670200)
search "drop*" "articles" "titles only" and you'll get this - How To Add Drop Down Menus To Your Navbar (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

Code:

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

and

Code:

<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 [DATE]1227302130[/DATE] at [TIME]1227302130[/TIME] ---------------

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


All times are GMT. The time now is 10:23 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
  • Page Generation 0.01524 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete