(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:
HTML Page Creator Plugins / Overview Effective Link in Bio Services  |  Greatest 11 Free Wordpress Alternatives Tools  |  How To Embed Instagram Feed  |  First-rate Responsive Website Builder Software - Beginner-Friendly Guide  |  Smart Cheap and Easy Web Page Builder Tools | Honest Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Best AI Website Builder | AI Website Builder | AI Website Maker | AI Website Generator