Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.


Initial Email From:
Mike
Initial Email Subject:  AllWebMenu, Hide menu item or group from javascript
Support Case Month: July 2013

I assume I am able to hide a menu item or menu group via external javascript function so I can display just the items/groups based on the web page.  Can you send me an example of how to do that?
Thank you.
Mike

Reply From: Likno Customer Support

Hello Mike,

First, thank you for your interest in our Likno products.

I believe that the Server-Side Menus API is what you are looking for:

http://www.likno.com/addins/dhtml-menu-serverside.html

Also click the "Example" link:

http://www.likno.com/addins/dhtml-menu-serverside-example.html

Regards, 
Aggelos Tsakonas
Aris
www.likno.com
Powerful javascript menus (CSS menus/drop-down menus/sliding menus), web trees, buttons, tabs, modals, tooltips, accordions, scrollers, designs for your websites!

Reply From: Mike

Thank you.
I don't have a need at the moment to build the menu dynamically.  I want to build a complete static menu but then hide parts of it depending on the page the user is on.  My hope is that there is a javascript call to hide an item or group by ID?

Reply From: Likno Customer Support

Hello Mike,

Another way to achieve what you want is to use the "UL/LI" population method (see below). In that case, you can hide/show any UL/LI items (menu submenus and items in other words) you wish. I believe this is the way to go:

UL LI menu structure code

Regards, 
Aris
Likno Customer Support
www.likno.com
Powerful javascript menus (CSS menus/drop-down menus/sliding menus), web trees, buttons, tabs, modals, tooltips, accordions, scrollers, designs for your websites!

 

Tags: , , , , , , , , , , , , , , ,