Search found 5 matches

by briatx
Mon Nov 13, 2006 7:31 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Dynamic submenu creation with mm_menueditapi
Replies: 2
Views: 2876

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 ...
by briatx
Mon Nov 13, 2006 6:39 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Dynamic submenu creation with mm_menueditapi
Replies: 2
Views: 2876

Dynamic submenu creation with mm_menueditapi

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 ...
by briatx
Thu Nov 09, 2006 7:46 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: drawMenus() mm_menueditapi dynamically created menu - SOLVED
Replies: 2
Views: 2439

Nevermind guys, looks like I was silly and had some milonic files included twice.

I guess that really does make a difference. :o

Ok, well note for posterity. Mouse over on one menu doing weird stuff to a second menu, check for double includes. (Any way to set up sentinels/guards in js?)
by briatx
Thu Nov 09, 2006 7:39 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: drawMenus() mm_menueditapi dynamically created menu - SOLVED
Replies: 2
Views: 2439

Thought I might add some code to this.

Basically, I'm using a slightly modified mm_addMenu function to allow me to set the name of the created menu, instead of getting the automated menu5 or whatever. I also commented out the popup so that the menu would stay hidden until i popped it up myself ...
by briatx
Thu Nov 09, 2006 12:44 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: drawMenus() mm_menueditapi dynamically created menu - SOLVED
Replies: 2
Views: 2439

drawMenus() mm_menueditapi dynamically created menu - SOLVED

Hi everyone,

Small problem here that I hope someone has an answer to. :)

I have a basic horizontal menu that is our basic navigation on our site.

I am working on adding a context menu, but one created dynamically with javascript using the mm_menueditapi.

The main menu created with drawMenus ...