Page 1 of 1
Only display children menu items when parent clicked!
Posted: Mon Jul 26, 2010 4:06 am
by ngoncom
Dear masters!
I am wonder is there a way to display children menu items when parent item clicked without using javascript, only custom menu template?
I have sidebar menu list as example:
Parent 1
Parent 2
-- Children 1
-- Children 2
Parent 3
And, I want menu display normal as:
Parent 1
Parent 2
Parent 3
But, when "Parent 2" clicked, menu will display:
Parent 1
Parent 2
-- Children 1
-- Children 2
Parent 3
Thank masters for help!
Re: Only display children menu items when parent clicked!
Posted: Mon Jul 26, 2010 7:51 am
by Peciura
Re: Only display children menu items when parent clicked!
Posted: Tue Jul 27, 2010 2:44 am
by ngoncom
Thank Peciura!
But I really want not using javascript, it similiar this page:
http://www.vodafone.com/start/about_vodafone.html
In left menu, when you click "Who we are". At "Who we are" page, left menu will expand its children: "History", "Meet the Board", "Chief Excutives".
That all my meaning!
Re: Only display children menu items when parent clicked!
Posted: Tue Jul 27, 2010 5:32 am
by uniqu3
you could use where you call your menu in the template collapse='1'.
Re: Only display children menu items when parent clicked!
Posted: Tue Jul 27, 2010 6:22 am
by Peciura
I believe all menu should work without JavaScript. But JavaScript or at least action "hover" can be used to reduces number of queries to site.
You could look at menu of built in template "Left simple navigation + 1 column".
Re: Only display children menu items when parent clicked!
Posted: Tue Jul 27, 2010 10:38 am
by ngoncom
Thank two master for help!
"Left simple navigation + 1 column" is true with me and using collapse='1' in menu template can make like this.
My problem solved!

Re: Only display children menu items when parent clicked!
Posted: Tue Jul 27, 2010 11:43 am
by Peciura
Add [Solved] to the subject of your first post.