I have looked at the menu help and it is very confusing.
Here is what I need.
I have a home page with links
link1
link2
link3
link3.1
link3.2
What I want is for it to not show the children 3.1, 3.2 etc.
What I also want is if you go to link 3
The menu only shows:
Link3
link 3.1
link3.2
How would I do this?
Menu
-
stopsatgreen
- Power Poster

- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
Re: Menu
There are two ways you can do this:
1. Different Templates
On the home page, use a command like this:
{menu number_of_levels="1"}
Create a new template for 'link3' pages, and use this instead:
{menu start_element="3" show_root_siblings="1"}
You'll probably end up making a lot of templates.
2. CSS
If you're using a list-based menu, hide all the children by putting this in your stylesheet:
li ul { display: none; }
To show children of a selected element, put this:
li.activeparent ul { display: block; }
You may have to play around with these a little, but option 2 is your best bet.
1. Different Templates
On the home page, use a command like this:
{menu number_of_levels="1"}
Create a new template for 'link3' pages, and use this instead:
{menu start_element="3" show_root_siblings="1"}
You'll probably end up making a lot of templates.
2. CSS
If you're using a list-based menu, hide all the children by putting this in your stylesheet:
li ul { display: none; }
To show children of a selected element, put this:
li.activeparent ul { display: block; }
You may have to play around with these a little, but option 2 is your best bet.
