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


Initial Email From:
Raul
Initial Email Subject: Problem with AllWebMenus
Support Case Month: October 2012

Hello
I use AllWebMenus 5 and I have a menu running ok.
The directory structure is:
c:\RGB\menu.js
c:\RGB\awmdata
C:\RGB\awmdata\menu
The file C:\RGB\index.html use this menu to go to diferent html
C:\RGB\contacto.html
C:\RGB\supplies.html
...
I need also to use this menu from the file C:\RGB\galeria\index.html
I have try to copy menu.js to gmenu.js (to use in this new file) and modify this file but the
menu appear in the web but don't run the link.
I need help
Please, is very important for me.
Thanks in advance.
Raúl
Sorry for my bad english.

Reply From: Likno Customer Support

Dear Raul,

You should not copy the menu in multiple places. Instead, you only need to adjust the Linking Code.

In your page you have a Linking Code that looks something like this:

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

<script type="text/javascript">var MenuLinkedBy="AllWebMenus [4]",awmMenuName="menu",awmBN="GN";awmAltUrl="";</script>

<script charset="UTF-8" src="menu.js" type="text/javascript"></script>

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

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

In order to fix the problem, all you need to do is to make sure the “src” path is correct for all pages. For example you could change it to:

src="/RGB/menu.js"

This way, it will work regardless of how deep your folders are.

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

Dear Kostas,
I had tried to write "/RGB/contacto.html" but then I had this error:
res://ieframe.dll/dnserror.htm#file:///RGB/contacto.html
Thanks for all.
Raúl

Reply From: Likno Customer Support

Dear Raul,

This is something that definitely works online. For local pages, maybe you should use the full-path “C:\RGB\contacto.html”.

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

Dear Kostas,
You are right that the configuration works online. 
Thanks for all.
Raúl

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