(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

Best 18 Landing Page Bootstrap Theme Roundup Easy Website Builder Review  |  Top Mindblowing HTML Image Slideshow Ideas  |  40+ Free Bootstrap Templates 2021  |  Offline Mobile Website Builder Software  |  Free and Easy Website Builder  | 
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 | Free AI Website Builder | AI Website Maker | Free AI Website Generator