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


 

    I was wondering if there is a way to disable links on a page for the script menu.

Return to Recent Questions


Q: I was wondering if there is a way to disable links on a page for the script menu. I am creating a site where, in a certain mode, the page is in preview and I don't want the links to work.

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:
Smart Cheap and Easy Web Page Builder Tools | Honest Review Good Responsive Site Maker Program - 2021 Tutorial  |  Exceptional Drag and Drop Web Maker App - Honest Review  |  Top HTML Site Builder - 2021 Review  |  HTML Page Creator Plugins / Overview  |  Fine Open Source Website Maker Software | 2021 Guide  | 
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 | Website Generator AI | AI website design generator