No this doesn't help because that function seems to only return the first parent menu from the static list.
i.e. if I have item1 with showmenu=submenu AND item2 with showmenu=submenu, then getParentItemByItem will return item1, always.
I want a function that behaves dynamically, revolving around ...
Search found 2 matches
- Mon Nov 26, 2007 3:36 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Get parent Item of a menu
- Replies: 3
- Views: 2231
- Thu Nov 22, 2007 10:26 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Get parent Item of a menu
- Replies: 3
- Views: 2231
Get parent Item of a menu
Hello all. Bought the menu a few months ago, and am enjoying it quite a bit so far. My problem is as follows:
I have two menus. Every item on menu #1 shows menu #2. Then, when the user clicks the item on menu #2, I'm calling a javascript function. However, at this point I wish to know the parent ...
I have two menus. Every item on menu #1 shows menu #2. Then, when the user clicks the item on menu #2, I'm calling a javascript function. However, at this point I wish to know the parent ...