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:

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: API, css menu, function, hide, ID, JavaScript, javascript menu, LI, Menu, menu item, population, Server-Side Menus, show, static menu, submenus, UL
Knowledge Base support case for AllWebMenus Pro, abstracted and stripped of all user’s private info.
Initial Email From: Jim
Initial Email Subject: Passing PHP variable to URL
Support Case Month: July 2013
I need to pass a variable, via PHP, to each URL in my menu as follows:
?BG=<?php echo $bg; ?>
so that the url would look like loading.php?BG=<?php echo $bg; ?> ... and it would resolve with the appropriate variable.
Couldn't find answer in knowledge base.
Reply From: Likno Customer Support
Hello Jim,
In order to achieve that, you should populate your menu through UL/LI structure.
Choose the following option in your AllWebMenus project:

Then click on the "Settings" in order to make the settings that perfectly work for you.

A UL/LI structure in your page could look like the one below:
<ul id="awmULLI-menu" style="display:none;">
<li><a href="test.php?BG=<?php echo $bg1; ?>">Main Item 1</a></li>
<li>Main Item 2
<ul>
<li><a href="test.php?BG=<?php echo $bg2; ?>">Sub Item 1</a></li>
<li>Sub Item 2
<ul>
<li>Sub Item 4</li>
<li>Sub Item 5</li>
<li><a href="test.php?BG=<?php echo $bg3; ?>">Sub Item 6</a></li>
</ul>
</li>
<li>Sub Item 3</li>
</ul>
</li>
<li>Main Item 3</li>
</ul>
Let me know if you need any more information.
Thank you!
Regards,
Aggelos Tsakonas
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: LI, link, menu item, menu structure, PHP, UL, URL, variable
Knowledge Base support case for AllWebMenus Pro, abstracted and stripped of all user’s private info.
Initial Email From: Fred
Initial Email Subject: all web menus pro
Support Case Month: July 2013
Sir/Madam:
I downloaded AllWebMenusPro and having been previewing it. I am not currently a customer. I do have a couple of technical questions that would facilitate my preview:
1) How do I get rid of the + on the menu item when there is a submenu?
2) Is it possible for the menu items to have a different width than the submenu groups? For example, I might have a short menu name (i.e., Reports) and a submenu item might have a long name (i.e., Custom Member Reports). It seems that the menu item's with is set to the width of the largest submenu item. This makes the layout of the menu look weird (if the menu items are left justified.
Thank you for your response,
Fred
Reply From: Likno Customer Support
Hello Fred,
First, thank you for your interest in our Likno products.
1) This is where you choose this (for each submenu level):

2) Please click the "Menu Type" button. I believe that you want to remove the "Uniform Items" checkbox.

Thank you!
Regards,
Aggelos Tsakonas
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: css menu, javascript menu, menu item, menu name, Menu Type, submenu, uniform items, width
Knowledge Base support case for AllWebMenus Pro, abstracted and stripped of all user’s private info.
Initial Email From: Josef
Initial Email Subject: Multiple menus in a page - highlight item
Support Case Month: July 2013
Hi,
the website {URL REMOVED} is a Drupal based CMS multilange website. Most of the content pages use a mixture between AllWebmenus based submenus and a Drupal Main Menu on the left sidebar of the template.
The problem is, that the highlighted item of the drupal mainmenu loses its highlighted state when a Allwebmenu Submenu item is activated.
Is it possible to realize the mainmenu with AllwebMenus AND still showing the selected main item in a highlighted state when a subpage via an AllWebmenu Submenu is called?
If yes, what would be the best configuration setup to achieve this?
Thank you for your help!
Regards
Josef
Reply From: Likno Customer Support
Hello Josef,
The way you have now implement your menu will not work as you expect. It would work if you had also the left sidebar menu on AllWebMenus. Now, they are 2 different menus. So, the highlight feature cannot work for another menu.
You could achieve that if the left menu and the bottom menu are one menu. You could have the main menu group as a vertical menu and the submenu group as horizontal menu with the appropriate offsets so that appears in the bottom as you want it. You should then set the submenu to be sticky and set the highlight feature according to your desired settings.
Let me know if you need further information.
Thank you!
Regards,
Aggelos Tsakonas
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: drupal, highlight, highlight menu item, horizontal menu, Menu, menu item, multiple menus, page, submenu, vertical menu
Knowledge Base support case for AllWebMenus Pro, abstracted and stripped of all user’s private info.
Initial Email From: User
Initial Email Subject: Question on menu layout
Support Case Month: July 2013
The menu I am working on is actually on the inside pages of the above website.
I am attempting to have a basic horizontal menu with dropdowns. On the right end of the menu, I want to just have a few icons (facebook, mail, home). I am attempting to make the size of those buttons, smaller (closer together). Right now my little icons are spaced at least 112px apart, even though I have set their custom size to at least 30px.
Can the buttons be different sizes within a menu bar?
Reply From: Likno Customer Support
Hello,
When you have a menu set to act as a menubar then all the items will be widened to fit the whole width.
If you want the menu items to keep their width please do the following setting:
"Do not widen items" in this way it will keep covering the whole width with the background of the menu and will not widen the menu items.

Thank you!
Regards,
Aggelos Tsakonas
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: dropdown, horizontal menu, Menu, menu item, menubar