How do I disable the drop down menu hyperlink on the page?
Return to Recent Questions
Q:
How do I disable the menu link for the page that is currently
being displayed? I don�t the menu item removed, I just want the link
to be inactive and possibly a different color.
A:
To disable items you should set the target parameter to "_".
Unfortunately, Deluxe Menu doesn't have such a feature.
You should write your own code, for example, on PHP.
You can try to use the following function
function disable() {
dm_ext_changeItem(1, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.
The example you can find on our site
http://www.deluxe-menu.com/dynamic-functions-sample.html
Return to Recent Questions
|