(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:
Awesome Mobile-friendly Website Design Review Splendid JS Design Maker Overview  |  How to Make a Webpage - Step by Step Tutorial  |  30+ Top Innovative Software Company Website Template List  |  Magical HTML Bootstrap Slider With Text Templates  |  Beautiful JS Page Theme 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 | AI Website Generator | AI Website Builder | AI Website Maker | AI web page design generator