vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Add additional navbar under existing navbar? (https://vborg.vbsupport.ru/showthread.php?t=287119)

Fakher 08-26-2012 02:54 PM

Add additional navbar under existing navbar?
 
Hi vBians :)
How can I Add additional navbar under existing navbar in vB4.2.0?

Regards

Lynne 08-26-2012 03:02 PM

I suppose you could just put another <div> under the existing navbar and put your links in there. It really depends on what you want it to look like.

Did you try a search? I vaguely recall that there may be a mod to do this already.

peugeot405 08-26-2012 03:04 PM

Yes there is mod to do that. Its this mod: [DBTech] vBNavTabs - Navbar Tabs / Tab Management v1 (vB4)

Fakher 08-26-2012 03:13 PM

yes i know but they offer this thing in paid mod :( I can't buy that mod due payment methods :(
Any manual editing of style that can do this?

--------------- Added [DATE]1345997743[/DATE] at [TIME]1345997743[/TIME] ---------------

Quote:

Originally Posted by Lynne (Post 2360184)
I suppose you could just put another <div> under the existing navbar and put your links in there. It really depends on what you want it to look like.

Did you try a search? I vaguely recall that there may be a mod to do this already.

I did try this but this is not highlighting the NavBar link on mouse hover :(

HTML Code:

<div id="navbar" class="navbar">
        <ul id="navtabs" class="navtabs floatcontainer">

                <li id="vbtab_forum"><a href="site link">Title </a></li>

        </ul>
       
</div>


Lynne 08-26-2012 03:41 PM

You said you wanted a second navbar... I thought you meant unrelated to the existing one. You will need to write conditions if you want a specific navtab to be highlighted when they click those links - you would need to add those conditions around the existing navtabs or into the navigation manager.

Fakher 08-26-2012 04:35 PM

Infact I wanted separate hard coded NavBar without any condition that ll be displayed to world publicly :)

So i added this code at the start of navbar template :) with edited links ofcourse :)
Code:

<div id="navbar" class="navbar">

        <ul id="navtabs" class="navtabs floatcontainer">

                <li id="vbtab_forum"><a class="navtab" href="http://www.Domain.com">Home</a></li>

                <li id="vbtab_forum"><a class="navtab" href="http://www.Domain2.com">Home2</a></li>

        </ul>
</div>

So i got what i was looking for,
Thanks for your response tho :) ;)


All times are GMT. The time now is 05:26 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.00990 seconds
  • Memory Usage 1,726KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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