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:32
Add and remove menu buttons on the fly
Poster: e-spike
Dated: Tuesday September 13 2005 - 18:36:51 BST
We have the need to be able to change the menu elements displaying on our menu. We have two elements that are always present, and then x number of extra elements (between 5 and none depending on the page). Basically what i want to do is remove all 5 elements and then rebuild them - and then redraw the menu using javascript.
I read somewhere its possible to set menu elements to 0 to hide them. Is this the best way to do it. Hide all elements, change their properties then re-display them with different images and text etc?
Thanks for your help
Rich
Poster: Ruth
Dated: Saturday September 17 2005 - 5:57:31 BST
This is pretty much over my head, but there is an Editing API module that might be what you want. Though again, It's out of my knowledge base. It's on the module page down toward the middle.
There are also a number of posts about adding and deleting items. This one ended with the development of the module. Maybe it will give you more information.
Ruth