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
|