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


 

    If there is a way to disable links in the dhtml context menu on a page.

Return to Recent Questions


Q: I was wondering if there is a way to disable links in the dhtml context menu on a page.


A: To disable your menu items you should set the following parameter to disable all items:

var itemTarget="_";

Or you can disable items individually.

["Home","testlink.html", "", "", "", "_", "", "", "", "", "", ], //disabled
["Product Info","", "", "", "", "", "", "", "", "", "", ],
["|Features","testlink.html", "", "", "", "_", "", "", "", "", "", ], //disabled
["|Installation","", "", "", "", "", "", "", "", "", "", ],

You can also use function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
function to disable items on-the-fly, for example:

dm_ext_changeItem (0, 2, 3, ["", "", "", "", "", "_", "", "", ""]);





Return to Recent Questions

Related:
Bootstrap Navbar Example Bootstrap Switch Value  |  Bootstrap Slider Usage  |  Bootstrap Tooltip Placement  |  Bootstrap Textarea Group  |  Bootstrap Breakpoints Responsive  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Best AI Website Builder | AI Website Generator | AI Website Generator | AI website design generator