Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2013, 06:08 PM
egclive egclive is offline
 
Join Date: Dec 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do i make a drop down menu in the nav bar

Similar to the misc. in the site below

http://www.revolutionofgaming.com/forum/
Reply With Quote
  #2  
Old 06-06-2013, 09:32 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vb version u are running
Reply With Quote
  #3  
Old 06-07-2013, 02:35 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use this mod to create dropdowns, prior to vB version 4.2.1 https://vborg.vbsupport.ru/showthread.php?t=274972

In vb v 4.2.1 you can do it with the Navigation Manager

This only applies to vB versions 4.x
Reply With Quote
  #4  
Old 06-07-2013, 05:05 AM
egclive egclive is offline
 
Join Date: Dec 2009
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4.2.1 but it doesn't let me make a menu like that
Reply With Quote
  #5  
Old 06-07-2013, 11:47 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take a look at the default ones there and it will give you a idea how to do it
Reply With Quote
  #6  
Old 06-07-2013, 12:18 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately there are no dropdown tabs in the default menus.

To create a dropdown menu on a tab do this..

1) Create a new TAB

2) Create a MENU item for the tab.

3) Create a LINK item for the MENU

4) Go back to the TAB and edit it. Change the 'Target Menu' to the new MENU you created.
Reply With Quote
  #7  
Old 06-07-2013, 06:18 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nhawk View Post
Unfortunately there are no dropdown tabs in the default menus.

To create a dropdown menu on a tab do this..

1) Create a new TAB

2) Create a MENU item for the tab.

3) Create a LINK item for the MENU

4) Go back to the TAB and edit it. Change the 'Target Menu' to the new MENU you created.
there is
quick links, forum actions and community tabs
main tabs no sub yes but at least it will give him a starting place
Reply With Quote
  #8  
Old 06-11-2013, 05:28 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, I guess you will have to do it manually 'hard-coded' way...

all you need is:

1- create a button in the navtab
2- add a class to your <li> tab and call it class="popupmenu"
3- add a href anchor after that to allow java script to popup the menu: <a href="javascript://" class="popupctr"/>button</a>
4- create un-order list for your drop menu with a class like this: <ul class="popupbody"></ul>
5- include your <li> with a class for css style and menu list for each element you want..

Save it and you're done...

if you need more explanation, shoot me a PM as a reminder...

Cheers
Reply With Quote
  #9  
Old 06-11-2013, 05:59 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fxdigi-cash View Post
well, I guess you will have to do it manually 'hard-coded' way...

all you need is:

1- create a button in the navtab
2- add a class to your <li> tab and call it class="popupmenu"
3- add a href anchor after that to allow java script to popup the menu: <a href="javascript://" class="popupctr"/>button</a>
4- create un-order list for your drop menu with a class like this: <ul class="popupbody"></ul>
5- include your <li> with a class for css style and menu list for each element you want..

Save it and you're done...

if you need more explanation, shoot me a PM as a reminder...

Cheers
My instructions work perfectly for vB 4.2.1.

There's no need to hard code anything.
Reply With Quote
Reply


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 01:04 AM.


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.04654 seconds
  • Memory Usage 2,237KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete