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:11
Menu Item Property "disabled"
Poster: mortenkr
Dated: Wednesday March 15 2006 - 10:57:21 GMT
I can't see that the "disabled=true or disabled=1" property for a menu item works (at least not in way I would expect). The only effect this have for me is that border and background isn't displayed on mouseover, but the link is still active and can be clicked.
I'm testing it on Firefox 1.0.7
Poster: Migru
Dated: Wednesday March 15 2006 - 11:35:50 GMT
Hi
confirmed - (FF 1.5, IE)
I donĀ“t think you can disable the menu-item this way, its just disabling the highlighting.
To modify item properties dynamically please see:
http://www.milonic.com/menueditapi.php
Michael
Poster: mortenkr
Dated: Wednesday March 15 2006 - 11:39:29 GMT
I found out that by removing the url, setting disabled=1 and setting oncolor and offcolor, gave me what I wanted.
Poster: Migru
Dated: Wednesday March 15 2006 - 11:51:41 GMT
Hi
that is correct,
and it could be done dynamically too using
http://www.milonic.com/menueditapi.php ....
if it is done manually, then of course it could be useful just to // comment it out . Why visualizing something, which does not work........
Michael