Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:10
Dynamically hide/show menu item (as css display:none/block)
Poster: jeanvm
Dated: Wednesday March 22 2006 - 18:43:58 GMT
Hi
I try to find a way to dynamically mask or show a menu Item (not open/close).
I have a table in my page in which lines are clickable, and menu items may have to be shown or hide according to the clicked line.
I already use the "mm_changeItemProperty" to set the "type" property (34) to "disabled" (greyed), which works perfectly.
Is there a simple and quick way to do this ?
Thanx
Poster: Ruth
Dated: Wednesday March 22 2006 - 23:38:42 GMT
Hi,
There's a menueditapi.js module that allows you to add/delete/edit items.
There's a demo or tool for it. I don't really understand it, but maybe you will.
http://www.milonic.com/menueditapi.php
The module is here
http://www.milonic.com/menumodules.php
Ruth