Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Dinesh Balaji
How to make the Onselect default for the first horizontal child menu ?
April 13, 2011 3:41 AM
Answer

Dinesh Balaji

Rank: Junior Member

Posts: 52

Join Date: October 6, 2010

Recent Posts

Hi All,

I have created a second level navigation and instead of vertical drop down I have made it to appear as horizontal.
Now my question is, if I click on the main navigation menu the first page of the horizontal child menu should be selected automatically.
Already a solution has been posted in the below forum, but thats not working for me.
( http://www.liferay.com/community/forums/-/message_boards/message/1366392 )

Any help would be greatly appreciated. Thank you.
Thanks in advance!!!

Regards,
Dinesh Balaji V
Hitoshi Ozawa
RE: How to make the Onselect default for the first horizontal child menu ?
April 13, 2011 5:57 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Already a solution has been posted in the below forum, but thats not working for me.
( http://www.liferay.com/community/forums/-/message_boards/message/1366392 )


What and why is not working for you?
Dinesh Balaji
RE: How to make the Onselect default for the first horizontal child menu ?
April 13, 2011 6:23 AM
Answer

Dinesh Balaji

Rank: Junior Member

Posts: 52

Join Date: October 6, 2010

Recent Posts

Hi Hitoshi,

I have made the drop down to appear as horizontal and I have done this through CSS and not thru VM. The Solution posted is for only appearing in horizontal and not for onselect of child.

So If i want to perform the action such as , on click on parent , first horizontal child should get selected, what should I do for it ?

What code should I modify in navigation.vm file for liferay 6.
Thanks in advance !!!!!!!!

Regards,
Dinesh V
Deb Troxel
RE: How to make the Onselect default for the first horizontal child menu ?
April 13, 2011 8:21 AM
Answer

Deb Troxel

Rank: Junior Member

Posts: 81

Join Date: February 22, 2010

Recent Posts

Hi Dinesh V,

It looks like you posted the same question twice. I posted a suggestion for you in reply to the other entry.

http://www.liferay.com/community/forums/-/message_boards/message/8233453