(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    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

Bootstrap Modal Popup Form Bootstrap Media queries Example  |  Bootstrap Panel Body  |  Bootstrap Multiselect Option  |  Bootstrap Row Grid  |  Bootstrap Select Placeholder  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | AI Website Builder | Free AI Website Generator | AI Website Generator | AI web page design generator