Dynamic submenu creation with mm_menueditapi

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
briatx
Beginner
Beginner
Posts: 5
Joined: Thu Nov 09, 2006 12:36 am

Dynamic submenu creation with mm_menueditapi

Post by briatx »

I'm currently trying to build submenus and attach it to an existing menu, all created dynamically with mm_menueditapi.

Setting the aI_Text with showmenu and subimage set to the appropriate values does not seem to work. I'm guessing there needs to be a addChildMenu function in mm_menueditapi, but its not there quite yet.

Anyone have some experience with this?

brian.
briatx
Beginner
Beginner
Posts: 5
Joined: Thu Nov 09, 2006 12:36 am

Post by briatx »

After thinking about this some more, it seems that I may be able to emulate submenu behavior with onfunction=itemon(submenu) and offfunction=itemoff(submenu).

If that actually works like it should (I'm not sure about positioning?) then that might be a possible plan of attack. But even if that works I would need a way to add the sub-menu arrow indicator.
jnigtin
Advanced
Advanced
Posts: 18
Joined: Wed Nov 29, 2006 3:55 pm

Post by jnigtin »

Did you ever get this working? I am trying to do exactly the same thing and am not having much luck.
Post Reply