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 .
- Sep 30, 2006 - How can I open the link in a new window with your DHTML MENU?
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- 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
- Nov 24, 2006 - How do I make the css submenu appear over the adjoining frame?
- Dec 11, 2006 - Is there a way to get rid of the spacing on the main jscript menu?
- Dec 24, 2006 - How to get side menu items to swap images to use like a traditional image rollover.
- Dec 28, 2006 - How do I create more space between the menu items in my simple javascript menu?
- Jan 05, 2007 - Can html side menu support context menus on right click
- Jan 14, 2007 - I can't however find the option in your menu makers to move submenus closer together
|