The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is it possible to hide the sub-navigation bar when there are no dropdown menus or links? For example, if you visit our Home page, you'll see there are no links underneath.
|
#2
|
|||
|
|||
![]()
Bump.
![]() |
#3
|
|||
|
|||
![]()
Bump.
|
#4
|
|||
|
|||
![]()
In Navigation Manager click on the tab name and then uncheck all the check boxes under "Active"
|
#5
|
|||
|
|||
![]()
There are no links under "Home."
|
#6
|
|||
|
|||
![]()
If you don't want any links under the other tabs (Activity Stream, Forum, etc) de-activate all of them in the Navigation Manager. "Home" is already the way you want it, right?
|
#7
|
|||
|
|||
![]()
Read the OP again.
|
#8
|
|||
|
|||
![]()
OK, I see what you mean. The only way I can think of is to use JavaScript to hide it when you are on the Home page or Contact Us
Try pasting this at the bottom of the navbar template Code:
<script> if(fetch_object("tab_ntk2_394").className == "selected" || fetch_object("tab_mte4_890").className == "selected") { fetch_object("globalsearch").style.display = "none"; fetch_object("navbar").style.height = "26px"; } </script> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|