Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-21-2009, 10:24 PM
Criminal-Minds Criminal-Minds is offline
 
Join Date: Feb 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 04-21-2009, 11:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

search "navbar" in "articles" "titles only" and you get How To Add Drop Down Menus To Your Navbar
Reply With Quote
  #3  
Old 04-25-2009, 04:22 PM
Criminal-Minds Criminal-Minds is offline
 
Join Date: Feb 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
Reply With Quote
  #4  
Old 04-25-2009, 04:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 04-25-2009, 06:12 PM
Criminal-Minds Criminal-Minds is offline
 
Join Date: Feb 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
Reply With Quote
  #6  
Old 04-25-2009, 06:37 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just add the $show[popups] condition to the second navbar and follow all the instructions from the article you found.
Reply With Quote
  #7  
Old 04-25-2009, 06:58 PM
Criminal-Minds Criminal-Minds is offline
 
Join Date: Feb 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 04-25-2009, 07:07 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->).
Reply With Quote
  #9  
Old 04-25-2009, 07:12 PM
Criminal-Minds Criminal-Minds is offline
 
Join Date: Feb 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #10  
Old 04-25-2009, 07:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04201 seconds
  • Memory Usage 2,247KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete