Top simple navigation + left subnavigation + 1 column

With the Menu Manager you can easily split the navigation in two parts. On this page the top level in the page hierarchy is displayed horizontally and depending on what page is displayed a localized sub-menu is displayed vertically to the left. In this case the sub-menu to the left displays the sub-levels to Default Templates Explained.

The {menu} tag

The {menu} tag is inserted twice in the page template. First where the main navigation is, which should only show the top level. It looks like this: {menu template='simple navigation' number_of_levels='1'}.

The sub navigation should only contain the second level and down, depending on what is selected on the first level. Also, the third level links should only display when its parent on the second level is clicked, otherwise they are hidden. That is, the second level is collapsed unless the current page has sub pages.

The tag for the sub navigation looks like this: {menu template='simple navigation' start_level='2' collapse='1'}.

Attached stylesheets for the menu

As the main navigation and the sub navigation need to be styled differently (one horizontal, the other vertical), two navigation stylesheets are attached to this page template. Navigation: Simple - Horizontal is for styling the horizontal main menua. Navigation: Simple - Vertical on the other hand, contains the style for the sub navigation to the left.

Both using the same Menu Manager template

However, as you could see, both parts of the navigation are using the same menu manager template. That is because the output code is the same. It is only through CSS that the two parts get styled differently.

Floating the sidebar to the right

You can easily float the sidebar with the sub navigation to the right instead. Look in the Layout: Top menu + 2 columns stylesheet for the float: left; property in the div#sidebar element. Change that to float: right; and the sidebar with the menu will instead be on the right side of the content.

Search Engines
Search in the website
Search in whole web


PubMed New and Noteworthy

Formulas to Display in PubMed Titles and Abstracts

- Wed, 06 Jun 2018 16:00:00 EST

PubMed Commons Discontinued

- Fri, 09 Mar 2018 14:00:00 EST

New Maximum Length for Custom Filters in PubMed

- Mon, 12 Feb 2018 11:00:00 EST

PubMed Commons to be Discontinued

- Fri, 02 Feb 2018 09:00:00 EST

MeSH Updated

- Mon, 27 Nov 2017 15:30:00 EST

Author contributed equally

- Wed, 19 Jul 2017 09:00:00 EST

NLM Catalog Updated

- Tue, 18 Jul 2017 16:00:00 EST

Updated Algorithm for PubMed Best Match

- Thu, 30 Mar 2017 16:00:00 EST

NLM Catalog sidebar filters updated

- Tue, 14 Mar 2017 15:00:00 EST

PubMed Updated

- Wed, 08 Mar 2017 09:00:00 EST

MeSH Updated

- Thu, 15 Dec 2016 15:00:00 EST

Relevance sort order renamed "Best Match"

- Mon, 12 Dec 2016 13:00:00 EST

Change to user reporting error in PubMed

- Tue, 04 Oct 2016 09:00:00 EST

PubMed Journals Released

- Wed, 07 Sep 2016 12:00:00 EST

Biology News Net - Bioinformatics

Giraffes more speciose than expected

- Thu, 08 Sep 2016 19:41:13 -0500

Artificial intelligence expedites breast cancer risk prediction

- Mon, 29 Aug 2016 18:12:50 -0500

Warbler genomes look to be 99.97 percent alike

- Tue, 23 Aug 2016 18:09:19 -0500

Genomics solutions to the riddle of the tobacco hornworm sphinx moth

- Mon, 15 Aug 2016 18:29:45 -0500

Every grain of rice: Ancient rice DNA data provides new view of domestication history

- Wed, 27 Jul 2016 17:24:16 -0500

Quantitating the complete human proteome

- Mon, 25 Jul 2016 18:09:06 -0500

Genome of 6,000-year-old barley grains sequenced for first time

- Mon, 18 Jul 2016 18:59:16 -0500

How do you turn a mosquito's genes on and off?

- Mon, 11 Jul 2016 17:01:30 -0500

A 'big data' approach to developing cancer drugs

- Fri, 08 Jul 2016 18:38:05 -0500

New technique sorts drivers from passengers in cancer genomics, implicates GON4L

- Wed, 29 Jun 2016 16:50:44 -0500

Biology News Net - Biotechnology

More tomatoes, faster: Accelerating tomato engineering

- Tue, 30 Aug 2016 17:36:48 -0500

Purest yet liver-like cells generated from induced pluripotent stem cells

- Mon, 29 Aug 2016 18:12:49 -0500

Analog DNA circuit does math in a test tube

- Tue, 23 Aug 2016 18:09:18 -0500

CRISPR-Cas9 breaks genes better if you disrupt DNA repair

- Wed, 17 Aug 2016 18:43:31 -0500

Legions of nanorobots target cancerous tumors with precision

- Mon, 15 Aug 2016 18:29:44 -0500

CRISPR gene editing reveals new therapeutic approach for blood disorders

- Mon, 15 Aug 2016 18:29:44 -0500

Quantum dots with impermeable shell: A powerful tool for nanoengineering

- Thu, 11 Aug 2016 18:30:35 -0500

Directly reprogramming a cell's identity with gene editing

- Thu, 11 Aug 2016 18:30:34 -0500

Small molecules to help make SMARTER cereals

- Mon, 08 Aug 2016 17:16:50 -0500

Study shows cell-free DNA sequencing is more accurate for diagnosing myelodysplastic syndrome

- Tue, 02 Aug 2016 17:08:44 -0500