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


 

    Is there a way to hide a javascript top menu options using either CSS or the java api based on the site user?

Return to Recent Questions


Q: Is there a way to hide a javascript top menu options using either CSS or the java api based on the site user?

(I use ColdFusion for scripting)

A: Deluxe Menu supports Javascript API.
You can find more info here:

http://deluxe-menu.com/dynamic-functions-sample.html

You can try to use API functions in that case:

function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)

To disable items you should set the target parameter to "_".

You can try to use the following function

function disable() {
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.






Return to Recent Questions

Related:
Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs Best Website Builder for Education, Software Companies, Designers, Videos  |  Website Builder for Beginners, Bloggers, Writers, IT Companies  |  Website Builder for Churches, Authors, Consultants, Magazines  |  Best Website Builder for podcasts and affiliate marketing  |  Website Builder for Online Stores, Restaurants, Musicians, Real Estate  | 
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 | Free AI Website Builder | AI Website Generator | Website Generator AI | AI website design generator