vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Top NavBar With Drop Down Menus (https://vborg.vbsupport.ru/showthread.php?t=129074)

Chadi 01-04-2007 06:33 PM

Nevermind. Fixed :)

Table in header was missing this
id="1"

No clue how that happened, but appreciate the help offerred.

MadKad 01-04-2007 06:48 PM

ok np sorry I couldnt help much on that, I still cant see it so I take it you have it set for a usergroup?

SkippySkippy 01-04-2007 06:49 PM

It's a nice mod, but it only shows up on the forumhome. I would use this if it was global (working in forums, arcade, vbAdvanced, etc.)

-Skip

MadKad 01-04-2007 07:36 PM

Quote:

Originally Posted by SkippySkippy (Post 1150808)
It's a nice mod, but it only shows up on the forumhome. I would use this if it was global (working in forums, arcade, vbAdvanced, etc.)

-Skip


the truble is as said here its down to the other mod this and not to my mod

it works in these demos:

photoplog
Arcade
Links and Downloads Manager
VBImage host
User pages
home made non VB page with VB styles

If I install any other mods I will say if they dont work, it doesnt show in VBdrupal but that is because the verable isnt taken from the main vb forum template like said in the past post.

If any one has other hack pages that this shows in please say.

DanCan 01-13-2007 12:00 PM

Have installed this hack, ought to be simple, but the drop down menu doesn't appear to work. It points to http://www.mysite.com/forum/#1.

What shall I do to make it work?

MadKad 01-13-2007 05:29 PM

you have to change the links to what you want, can I see the webite?

Sooner95 01-13-2007 06:59 PM

Beauty. many thanks for this!

DanCan 01-14-2007 06:08 PM

Quote:

Originally Posted by MadKad (Post 1158214)
you have to change the links to what you want, can I see the webite?

Sure: You can find the forums here

Code used for the test drop down example:

Code:

<!-- dropdown start -->
      <td id="1" class="vbmenu_control"><a href="#1">test</a>
        <script type="text/javascript"> vbmenu_register("extra"); </script></td>
      <!-- dropdown end -->
     
     
    </tr>
  </table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
  <table cellpadding="4" cellspacing="1" border="0">
    <tr>
      <td class="thead">test</td>
    </tr>
    <tr>
      <td class="vbmenu_option"><a href="http://www.iihf.com">IIHF</a></td>
    </tr>
    <tr>
      <td class="vbmenu_option"><a href="http://www.swehockey.se">Euro Hockey Tour</a></td>
    </tr>
    <tr>
      <td class="vbmenu_option"><a href="http://www.icehockeychallenge.net">EIHC</a></td>
    </tr>
  </table>
  </if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->


MadKad 01-14-2007 06:14 PM

Quote:

Originally Posted by DanCan (Post 1159118)
Sure: You can find the forums here

Code used for the test drop down example:

Code:

<!-- dropdown start -->
      <td id="1" class="vbmenu_control"><a href="#1">test</a>
        <script type="text/javascript"> vbmenu_register("extra"); </script></td>
      <!-- dropdown end -->
     
     
    </tr>
  </table>
</div>
<!-- / nav2 buttons bar -->
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<!-- extras pop start -->
<div class="vbmenu_popup" id="1_menu" style="display:none">
  <table cellpadding="4" cellspacing="1" border="0">
    <tr>
      <td class="thead">test</td>
    </tr>
    <tr>
      <td class="vbmenu_option"><a href="http://www.iihf.com">IIHF</a></td>
    </tr>
    <tr>
      <td class="vbmenu_option"><a href="http://www.swehockey.se">Euro Hockey Tour</a></td>
    </tr>
    <tr>
      <td class="vbmenu_option"><a href="http://www.icehockeychallenge.net">EIHC</a></td>
    </tr>
  </table>
  </if>
</div>
<!-- extras pop end -->
<!-- / NAVBAR POPUP MENUS -->
<!--####### end of navbar2 #######-->


you have set the id to 1 on one part of the code and id="1_menu" to the other change the id="1_menu"

to

id="1"

that should sort it I think :)

DanCan 01-14-2007 06:37 PM

Quote:

Originally Posted by MadKad (Post 1159131)
you have set the id to 1 on one part of the code and id="1_menu" to the other change the id="1_menu"

to

id="1"

that should sort it I think :)

No that didn't work. It points to this link and the the drop down menu doesn't show.

I have used your code in the original example and it doesn't work. Also I have followed the instructions very carefully. I don't get it.


All times are GMT. The time now is 09:01 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.01797 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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