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:54
Dynamically disable menu items
Poster: Queenan
Dated: Wednesday February 9 2005 - 21:58:13 GMT
Does the menu contain functionality to dynamically disable a menu item based on an asp variable?
We would like to display all menu items defined for the menu but some items should not have active links based on variables in or asp page.
Is this some thing that can be done?
Any help is greatly appreciated.
Thanks!
Mike -
Poster: Ruth
Dated: Thursday February 10 2005 - 1:16:00 GMT
There is a function available to dyamically change item properties, that should include the link property. This discussion thread goes into greater detail. It refers to changing a url dynamically. But it can be applied to various parameters of an item, text, type etc. So, you could probably use it to disable the link action.
There is also this discussion thread which may have something you can use.
Ruth