Only display children menu items when parent clicked!

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
ngoncom
Forum Members
Forum Members
Posts: 19
Joined: Fri Jun 11, 2010 7:55 am

Only display children menu items when parent clicked!

Post 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!
ngoncom
Forum Members
Forum Members
Posts: 19
Joined: Fri Jun 11, 2010 7:55 am

Re: Only display children menu items when parent clicked!

Post 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!
uniqu3

Re: Only display children menu items when parent clicked!

Post by uniqu3 »

you could use where you call your menu in the template collapse='1'.
Peciura

Re: Only display children menu items when parent clicked!

Post 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".
ngoncom
Forum Members
Forum Members
Posts: 19
Joined: Fri Jun 11, 2010 7:55 am

Re: Only display children menu items when parent clicked!

Post 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!  :D
Peciura

Re: Only display children menu items when parent clicked!

Post by Peciura »

Add [Solved] to the subject of your first post.
Post Reply

Return to “Modules/Add-Ons”