Thanks for your quick response,
I use the collapsible menu and I found that when we add an item dynamicaly and we expand the menu, the item that we just added hide the following menu item.
So in order to correct those 2 problems I just reload the entire menu when I have to add an item dynamically ...
Search found 2 matches
- Wed Jan 17, 2007 4:09 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: use mm_insertItem in menu without any item initialy
- Replies: 2
- Views: 2304
- Tue Jan 16, 2007 10:22 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: use mm_insertItem in menu without any item initialy
- Replies: 2
- Views: 2304
use mm_insertItem in menu without any item initialy
Hello,
I try to add dynamically an item into a menu by using mm_insertItem.
This works fine if the menu where I try to insert the item has already an item, but does not work if not.
For examples this is my menu:
with(new menuname("OBJS_THIAPL")){
style = sub1Style;
margin=AllMargin ...
I try to add dynamically an item into a menu by using mm_insertItem.
This works fine if the menu where I try to insert the item has already an item, but does not work if not.
For examples this is my menu:
with(new menuname("OBJS_THIAPL")){
style = sub1Style;
margin=AllMargin ...