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


 

    How to hide/ disable an item for a particular user/roleid in dreamweaver dhtml menu.

Return to Recent Questions


Q: I wanted to know how to hide/ disable a menu item for a particular user/roleid in dreamweaver dhtml menu..




A: 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:
Responsive Site Theme Mobile-friendly Page Maker  |  Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  36 Top Eye-catching and Free AMP Elements Templates for 2018  |  Responsive Website Maker  |  Bootstrap Site Themes Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Mobirise Themes | mobiriseextensions.com | bootstrap popup window | bootstrap popup | bootstrap modal popup