Adamantium menu (active index)

Post Reply
Zardo
Posts: 31
Joined: 29 Jul 2015, 15:41

14 Apr 2017, 16:30

Hello, is there a way to control the active SubMenu index and the active item index of an adamatium's Menu? (pm:menu).

Example (index within parenthesis):

Code: Select all

A (0)
     a1 (0)
     a2 (1)
B (1)
   b1 (0)
   b2 (1)
   b3 (2)

Thx

User avatar
aragorn
Posts: 2658
Joined: 29 Jun 2013, 12:38

17 Apr 2017, 09:11

I think you can add the id of submenu or menuitem into cookie. Exp;

Code: Select all

//JS
PF('AdamantiumMenu').addMenuitem('id');
PF('AdamantiumMenu').saveMenuState();

//XHTML
<pm:menu widgetVar="AdamantiumMenu">

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest