vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to make drop down boxs w/links (https://vborg.vbsupport.ru/showthread.php?t=211871)

Criminal-Minds 04-21-2009 10:24 PM

How to make drop down boxs w/links
 
Can some one point me in the right direction and or a tutorial on how to make drop down boxs (like quick links) on the navbar?

Any help would be great thanks!

Lynne 04-21-2009 11:18 PM

search "navbar" in "articles" "titles only" and you get How To Add Drop Down Menus To Your Navbar

Criminal-Minds 04-25-2009 04:22 PM

is there away to make the double navbar to use quick links? I've posted in the mod section been days no one answered.

here is the code

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->

Lynne 04-25-2009 04:33 PM

There are modifications to create a second navbar. Your code should probably work also, but you didn't post an image of what the result is for your code.

Criminal-Minds 04-25-2009 06:12 PM

Yea the code i pasted was the code from the double navbar mod. How would I go about to add drop down box?

Cause the link you pasted to me ask to find this

Quote:

<if condition="$show['popups']">
But

In the double navbar code doesnt have that code in it

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->

Lynne 04-25-2009 06:37 PM

Just add the $show[popups] condition to the second navbar and follow all the instructions from the article you found.

Criminal-Minds 04-25-2009 06:58 PM

ok one last questions BTW you been great help!

If i wanted to delete the navbar that came with the download of vB how would i also do this? Is this possible to remove? Cause the skin I have has all the same links in the header so I wanna build my own navbar and delete the one that came with the vB.

Lynne 04-25-2009 07:07 PM

Sure you can remove it. The standard one is in the navbar template (assuming you aren't using a custom skin) and it's pretty well commented (<!-- nav buttons bar -->). Don't delete the pop-up stuff if you are going to use the pop-up contents it defines (<!-- NAVBAR POPUP MENUS -->).

Criminal-Minds 04-25-2009 07:12 PM

ok and last question I PROMISE LOL. If i wanted to add multiple drop down boxs do i just repeat hte process as in the article you posted?

Lynne 04-25-2009 07:14 PM

Yes, *but*!!! Make sure each dropdown has a unique ID. That is very, very important!

Criminal-Minds 04-25-2009 07:43 PM

what do u mean unique id?

Lynne 04-25-2009 08:42 PM

Where it says id="something" in the code. That needs to be unique for every drop-down. The drop-down for search may not have the same id as the crop-down for User CP. They must be unique so that it works correctly.


All times are GMT. The time now is 02:09 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.01094 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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