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:

populate menu using UL  LI structure

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

menu structure settings

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: , , , , , , ,

 

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


Initial Email From:
Tom
Initial Email Subject: issues with vertical submenus and scroll bars on chrome
Support Case Month: March 2013

Hi,

I have attached the awm, since the site is secured.

The problem is the vertical submenus, but only one Menu>Daily and any of the 3 items, and only on Chrome.  Once on a page the scroll bars (vertical and horizontal) show up for any item on the nav, once I move away they are fine. Cache emptied frequently.

The linking seems fine:

<body>

<!-- DO NOT MOVE! The following AllWebMenus linking code section must always be placed right AFTER the BODY tag-->

<!-- ******** BEGIN ALLWEBMENUS CODE FOR master ******** -->

<script type='text/javascript'>var MenuLinkedBy='AllWebMenus [4]',awmMenuName='master',awmBN='DW';awmAltUrl='';</script>

<script charset='UTF-8' src='../../nav/master.js' type='text/javascript'></script>

<script type='text/javascript'>awmBuildMenu();</script>

<!-- ******** END ALLWEBMENUS CODE FOR master ******** -->

Any thoughts would be helpful.

Thanks,
Tom

Reply From: Likno Customer Support

Dear Tom,

It seems that this issue is caused by a specific line in your “showCal.js” file:

variable conflict problem

This variable conflicts with a variable used by our scripts and confuses the menu library files.

The “quick & dirty” solution is to open your “showCal.js” file and perform a “search & replace” replacing “isNav” with “isNav1”. You should find 4 occurrences.

This will make both scripts work until we can fix this permanently and send you an updated version.

Best Regards,
Kostas
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!

Reply From: Tom

Hi,

Very nice, thanks for your help.

Thanks,
Tom

Reply From: Likno Customer Support

Dear Tom,

This is to let you know that we have just uploaded a new AllWebMenus build (906) that should permanently take care of the variable conflict issue.

You can get it here:

http://www.likno.com/download.html

Best Regards,
Kostas
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!

Reply From: Tom

Thanks

Tags: , , , , , ,

 

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


Initial Email From:
Leslie
Initial Email Subject: Confusion
Support Case Month: February 2013

I have recently been trying to convert my menu CSS but it doesn't seem to be working.  Which files should be at my server in order for it to operate?

Is there a way for the menu to recognize that it is viewed by a mobile phone (iphone)  (lots of traffic from safari) and then automatically be increased to the size of the screen when it is touched?

Leslie

Reply From: Likno Customer Support

Dear Leslie,

Regarding the CSS menu, you need to upload the compiled files and make sure that you also Link the menu again to your pages, as the Linking Code of the CSS is different than that of the JS.

The produced files are “menu.js”, “menu.css” and “awmdata” folder. (of course the names may differ depending on your menu’s “compiled name”)

Regarding resizing for iPhone, we recommend that you create a Responsive menu so that you can change its appearance according to the device screen.

Best Regards,
Kostas
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!

Reply From: Leslie

I am using server side includes to bring the menu to my various pages and it has worked so far with javascript but it doesn't load with the linking for css.  The linking for css doesn't seem as complete as the linking for JavaScript.

Reply From: Likno Customer Support

Hello,

The Linking Code for CSS is indeed smaller. This is not a problem.

However I see something else that could be the problem. It seems that you named your menu “2”. It is recommended that the compiled menu name always starts with a letter, following the programming variable conventions. Please change your compiled menu name for example to “menu2” and see if this fixed the problem. If not, please send me a URL to check your pages.

Best Regards,
Kostas
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: , , , , , , , ,

 

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


Initial Email From:
Todd
Initial Email Subject: AWM: Use of ASP (Response.Write)
Support Case Month: January 2013

Greetings. I have a question related to the use of ASP with AllWebMenus. Rather than typing in a lengthy message, I've chosen to opt for a video of my screen. I use Jing to do this.

I thank you very kindly. Any help is most appreciated.

Todd

Reply From: Likno Customer Support

Dear Todd,

I am afraid that ASP code cannot work within AllWebMenus. What you can do instead is that you can use “Custom Variables” and do the job.

To do this, you need to first of all add some code in your page (before the Menu Linking Code) where you will give JavaScript variables the correct values. For example:

var assLiving = <% Response.Write URL_AssistedLiuving %>

<!-- ******** BEGIN ALLWEBMENUS CODE FOR (... etc.)

Then within AllWebMenus you can use this JavaScript variable directly into the Link field:

<awm:assLiving>

AllWebMenus custom variables

For more details and examples you can search the help for “custom variables”. Let me know if you need more help.

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

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

 

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


Initial Email From:
Roland
Initial Email Subject: webmenu maker 
Support Case Month: November 2012

Dear Kostas

I have another problem on the same menu

http://www.conferexpert.eu/index.php?pag=1&lan=3

I want to use this option

menu auto highlight item

It does not work (item not hightlighted) and secondly it makes an error if you click twice on the same menu item

Where is my mistake

Thank you in advance

Cordialement,
Roland

Reply From: Likno Customer Support

I see this:

show menu item or group on appear

It is not set on "Yes"! Neither the compiled menu file that is online.

Best Regards,
Aris Filokostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: Roland

I have set it on now

The problem is worst
The item is still not highlighted and if you click twice on a button  it generate and error 404
The variable are not showed with IE
New recompiles zip attached

Cordialement,
Roland

Reply From: Likno Customer Support

Hello,

I noticed two separate issues:

1) It seems that the online compiled menu file does *not* have the auto-highlight option enabled. Please make sure you have selected this and recompile your menu.

2) Regarding the variables, you need to give them the values *before* the menu is built. So you need to move your code before the Linking Code (in the <head> maybe?).

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: Roland

Thank you Kostas

That was the problem

Cordialement,
Roland

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

 


© 2009-2013 Likno Blog – Drop-Down Menus, Javascript Menus, CSS Menus, jQuery Scrollers/Sliders, Modal Windows