(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    Do you have an extremely simple example of modifying a dynamic drop down menus with the JavaScript API?

Return to Recent Questions


Q: Do you have an extremely simple example of modifying a dynamic drop down menus with the JavaScript API? I've played with the example on the site, but I have trouble removing the other menus without breaking it.

I just want to use the API to change the icon on the menu items.

A: You should use the following function:
function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)

<script language="javascript" >
dm_ext_changeItem(0, 0, 1, ["", "", "new_icon.gif", "new_icon_o.gif", "",,""]);
</script>

http://deluxe-menu.com/dynamic-functions-sample.html





Return to Recent Questions

Related:
First-rate Easy Website Builder | How-to Guide Exceptional MP4 to HTML5 Converter Review  |  Great MP4 to HTML5 Generator Tutorial  |  Beautiful Slider jQuery Application  |  Reputable Drag and Drop Web Builder | Overview  |  Fantastic Bootstrap Page Themes For Your Company  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Free AI Website Builder | AI Website Generator | Free AI Website Generator | Website Generator AI