(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 would I use the javascript menu submenu to display itself for logged in person

Return to Recent Questions


Q: How would I use the submenu feature to display itself only if a person is logged in. such as if a person logged in then the member area would expand, else it would always stay closed with only the login username section showing?


A: Unfortunately it is not possible. You can only add items depending on the logged user.

You should use API functions:
see more info:
http://deluxe-menu.com/functions-info.html
For example, you can use:
function dtreet_ext_insertItem (menuInd, parentItemID, itemInd, itemParams)
function dtreet_ext_deleteItem (menuInd, itemID)
function dtreet_ext_showItem (itemID, visibility)
function dtreet_ext_expandItem (itemID, expand)





Return to Recent Questions

Bootstrap Switch Value Bootstrap Button groups active  |  Bootstrap Breakpoints Responsive  |  Bootstrap Textarea Group  |  Bootstrap Tooltip Placement  |  Bootstrap Navbar Example  | 
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 Maker | AI Website Generator | Website Generator AI | AI website design generator | AI web page design generator