I need to dynamically add and delete from the menus. The way I would like to do this, is to call a script that empties a menu and then re-builds it based on user supplied info.
I can add and edit at will with the mm_changeItemProperty that Andy provided. It also allows for a remove a selected entry ...
Search found 3 matches
- Sun Feb 13, 2005 5:41 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Deleting all items from menu
- Replies: 4
- Views: 4041
- Wed Jan 19, 2005 6:47 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Delete everything from menuitem array
- Replies: 5
- Views: 5249
Thanks so much, but...
I really appreciate you sharing the remove script and I have several areas I can immediately use it!
However, I was wondering if there was an easy way to accomplish my original task of erasing all of the items from a particular menu. Or, alternately I could use the remove script your provided if ...
However, I was wondering if there was an easy way to accomplish my original task of erasing all of the items from a particular menu. Or, alternately I could use the remove script your provided if ...
- Wed Jan 19, 2005 6:01 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Delete everything from menuitem array
- Replies: 5
- Views: 5249
Delete everything from menuitem array
I know that the ability to remove items from a menu dynamically after the menu is loaded is on the feature request list, and that the hide a menu item will not work for me.
I don't suppose anyone knows which array I could nuke (length=0?) to remove all of the items from a menu? I could then add ...
I don't suppose anyone knows which array I could nuke (length=0?) to remove all of the items from a menu? I could then add ...