(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:
How to Make a Webpage - Step by Step Tutorial Beautiful JS Page Theme Review  |  Magical HTML Bootstrap Slider With Text Templates  |  Splendid JS Design Maker Overview  |  30+ Top Innovative Software Company Website Template List  |  Perfect Responsive JS Website Templates Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Free AI Website Builder | AI Website Generator | AI web design generator | AI web page design generator