PDA

View Full Version : Hiding Sub-Navigation Bar with No Dropdown Menus and Links


Amaury
04-23-2013, 03:51 AM
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.

Amaury
04-25-2013, 02:22 PM
Bump. :)

Amaury
05-12-2013, 06:56 PM
Bump.

nerbert
05-12-2013, 07:05 PM
In Navigation Manager click on the tab name and then uncheck all the check boxes under "Active"

Amaury
05-12-2013, 07:35 PM
In Navigation Manager click on the tab name and then uncheck all the check boxes under "Active"

There are no links under "Home."

nerbert
05-12-2013, 07:53 PM
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?

Amaury
05-12-2013, 08:05 PM
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?

Read the OP again.

nerbert
05-12-2013, 08:50 PM
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


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