vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How To Add Drop Down Menus To Your Navbar (https://vborg.vbsupport.ru/showthread.php?t=122523)

ETDC 02-03-2009 10:32 PM

Quote:

Originally Posted by Spaz21 (Post 1733531)
well... after hours of screwing around with this... i've given up

even copying and pasting everything word for word in the exact location it still isn't working on 3.8.0.... guess i'll have to find a different way to do this

Oh well, that rules out 3.8 for me...

henrikhansen 02-13-2009 11:11 AM

I works for me in 3.8 by choosing second instance of "<if condition="$show['popups']">" instead of the first instance, as explained in article.

Altered 02-13-2009 01:38 PM

Quote:

Originally Posted by henrikhansen (Post 1742774)
I works for me in 3.8 by choosing second instance of "<if condition="$show['popups']">" instead of the first instance, as explained in article.

Fixed my problem as well. Thanks!

Jaxel 02-14-2009 08:39 PM

Is it possible to do this with IMAGE LINKS instead of text links?

As well... could I do this in the "HEADER" template, instead of the navbar template?

khurtsiya 02-16-2009 02:06 PM

I make second line at the top of navbar and this worked for me, but I have this problem:

http://smages.com/i/66/fe/66fe2bb1f4...0256c2a518.png

Drop Down Menu is not near the link in navbar. Why this can be?

jaslon 03-20-2009 08:34 AM

Is it somehow possible to make these drop-down menus dependent on which sub-forum is being viewed? So that the links in the menu are different for different sub-forums.

Lynne 03-20-2009 02:05 PM

Quote:

Originally Posted by jaslon (Post 1772411)
Is it somehow possible to make these drop-down menus dependent on which sub-forum is being viewed? So that the links in the menu are different for different sub-forums.

You would have to wrap a condition around stuff:
HTML Code:

<if condition="$forumid == '5'">
stuff just for when you are in forumid 5
</if>


Zarxrax 04-10-2009 12:38 AM

I got the working almost perfectly, but... on existing dropdowns like search, or quicklinks, the dropdown menu aligns with the left of the link. However on the new dropdown menu that I added, the dropdown appears further to the left of the link, like its centered under the left side of the link. What can I do about this?

0 Seo 0 04-24-2009 11:59 PM

in forum i have FAQ how to make it FAQ/Rule ?

odln018 05-07-2009 03:09 PM

I found this good little article regarding how to add a drop down to your navbar. http://www.vbulletin.com/forum/newre...ote=1&p=769703



I've used this tutorial to create a new drop down on my navbar, It does appear on the navbar, however, when clicking on the menu, the drop down appears on the left side of the cell, rather than the center, like my other drop downs.

I can't seem to find the correct verbiage to resolve this.

I'd appreciate any direction.


here are the relevant bits.

Code:

<td id="mypopupmenu" class="vbmenu_control"><a href="#mypopupmenu">MENU TITLE</a><script type="text/javascript"> vbmenu_register("mypopupmenu"); </script></td>
Code:

<!-- mypopupmenu -->
    <div class="vbmenu_popup" id="mypopupmenu_menu" style="display:none;margin-top:3px" align="$stylevar[left]"><table cellpadding="4" cellspacing="1" border="0">
       
        <tr><td class="thead">MENU TITLE</td></tr>       
        <tr><td class="vbmenu_option"><a href="URL">LINKED TEXT</a></td></tr>
        </table>
    </div>
    <!-- / mypopupmenu -->



All times are GMT. The time now is 04:37 AM.

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.01591 seconds
  • Memory Usage 1,744KB
  • 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete