Log in

View Full Version : Add additional navbar under existing navbar?


Fakher
08-26-2012, 01:54 PM
Hi vBians :)
How can I Add additional navbar under existing navbar in vB4.2.0?

Regards

Lynne
08-26-2012, 02: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, 02:04 PM
Yes there is mod to do that. Its this mod: [DBTech] vBNavTabs - Navbar Tabs / Tab Management v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=274972)

Fakher
08-26-2012, 02: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 1345997743 at 1345997743 ---------------

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 :(

<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, 02: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, 03: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 :)
<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 :) ;)