dhtmlmenu

Suppose i have 3 items in main menu like Home, Profile,Development and there are sub menus under all these.

If select submenu under profile main menu and i want to display that the main menu Profile should be selected with some color

sothat user should be able to identify the open page belongs to that particular main menu.

What code should i write.

Please tell its urgent.



thanks

Garima

Menu has not any special way to mark elements.
When data loaded from XML you can use “className” attribute to set custom css class for menu item.
In case of adding element by js command, the same can be done through 4th parameter of js command.