Search found 2 matches

by powlette
Thu Oct 16, 2003 8:21 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: When the api for mmenu be posted?
Replies: 0
Views: 1726

When the api for mmenu be posted?

I need to do more with the menu at runtime via javascript.

Including add/removing items, renaming items, changing images, etc.

When/where can I find the API?
by powlette
Wed Oct 15, 2003 3:10 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Here is the theJavascript to disable a menu item at run time
Replies: 2
Views: 3203

Here is the theJavascript to disable a menu item at run time

If you need to disable menu item, gray it out, and disbale the url you can use this script. It can also restore the url and color.

call it like this:

setMenuItemEnabled("Main Menu", 1, false);


function setMenuItemEnabled(menuname, itemNumber, enabled)
{
if (!document.all) return;
vals ...