How can retrieve id of the parent menu item in the drop-down menus?
Return to Recent Questions
Q:
In javascriptcoding I have id of the submenu.
How can retrieve id of the parent menu item in the drop-down menus?
A:
You can try to use the following function
function dm_ext_getSubmenuParams (menuInd, submenuInd)
Returns submenu parameters in the array:
[submenu_id, items_count, parent_item_id, submenu_level, is_horizontal]
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
Using this function you can retrieve the parent_item_id.
More info see:
http://deluxe-menu.com/functions-info.html
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Nov 12, 2006 - Where in the java menu creator would I inseart the icons for individual item labels
- Dec 24, 2006 - How to get side menu items to swap images to use like a traditional image rollover.
- Jan 05, 2007 - Can html side menu support context menus on right click
- Jan 22, 2007 - I'm trying to position my xml menus inside absolutely positioned DIV tags.
- Jan 26, 2007 - Is it possible to hide the plus signs in the expandable menus?
- Jan 29, 2007 - I want to have a different font and color for my javascript hide submenu items
- Feb 05, 2007 - Can we specify our own onclick event handler for the javascript sliding menus item?
- Feb 11, 2007 - Is it possible for the dhtml sliding menu to highlight selected item on the page?
- Feb 12, 2007 - There seems to be a 'glitch' with my transparent drop down menus when I use Firefox.
|