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

Support Case Month: March 2012
Initial Email Subject: menu linking code not immediately after the body tag

Initial Email From: Brian

Hello,

Thank you for you help activating my software. After working with the software I noticed placement issues with IE web browsers.

All other browsers look perfect. (Chrome, Firefox, Safari, Opera)  I have attached a screen shot of the problem in IE and how it looks in Chrome.

Best Regards,
Brian

Reply From: Likno Customer Support

Hello Brian,

This is a typical IE error when the menu-linking code is placed within page tags and not immediately after the <BODY> tag (as it should be).

In your case, the menu-linking code is somewhere deep in page, away from the <BODY> tag:

menu linking code NOT immediately after the body tag

You have 2 solutions:

1.            Transfer that menu-linking code under the <body> tag:

menu linking code immediately after the body tag

2.            If you have to have it there (due to web editor restrictions for example) then your other solution is to have the following option selected in the Project Properties:

menu linking code within tags

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

 

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

 

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

Support Case Month: March 2012
Initial Email Subject: Old Menu Remains

Initial Email From: Tim

Hello...

My problem is that I\'m attempting to change a menu in my website. I've deleted all traces of old files from the server. I have designed and compiled a new menu and have uploaded it to the server as well as copied the html code to my site. The menu that appears is the old one.

I've also completely deleted all files of the previous site configuration and am starting fresh. I even have deleted all traces of menus from my PC that were used in the old site.

I'll be happy to pay the fee for continued support. I just recently upgraded the software and assumed that support would be included. Anyway, kindly let me know what I need to do, both in regards to continued support and my menu problem.

All will be appreciated,

Tim

Reply From: Likno Customer Support

Dear Tim,

I checked your page and did not find any AllWebMenus code whatsoever.

I also did a “lucky hit” at “http://www.USER-DOMAIN-REMOVED.com/menu.js” and found that you do have a menu there, but it is a bit older (by “recently upgraded” do you mean September?) so I am not sure if this is your latest menu.

Please try the following and let me know:

1) download the latest AllWebMenus (you can get this for free from the User Area)

2) compile your menu

3) link the menu to your pages

4) double-check that you have correctly setup the positioning

Let me know how this works out.

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!

Reply From: Tim

Hello Kostas,

Thank you very much for your reply and suggestions.

I followed your advice but still am seeing the "old" menu (Horizontal).

The new menu I'm attempting to insert is the "Flatblack" vertical. I am a little confused regarding "proper placement". I'm trying to have the "floating menu" begin in the dark gray area next to the temporary typed menu you see. www.USER-DOMAIN-REMOVED.com

Yes, please allow me a few moments and I will try again to purchase the support renewal package and will attach a screen-shot if the problem repeats itself.

Thanks again for your help. Happy to do business with you.

Respectfully,

Tim

Reply From: Likno Customer Support

Dear Tim,

I checked your page and saw that you added a Linking Code and the menu now appears. However something does not add-up…

The compiled menu that exists online is from build 874 and the Linking Code is from build 886. The library files are also from build 886. This tells me that you uploaded the library files (“awmdata” folder) but you did not upload the newly compiled menu file (“menu.js”). Please upload this too and refresh your page.

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!

Reply From: Tim

Good Morning Kostas,

The horizontal menu is the same...all I did is expand and move the HTML insert over so you could see the complete menu.

A matter of note: I opened my home page on an android tablet last night and the new menu briefly appeared, then was replaced by the horizontal menu. Also, the vertical menu that appeared was an earlier format, not the finished menu I have now.

As you have requested...

1. Attached

2. C:\Users\Tim\Documents\My Webs

3. Opening "menu.js", I get the following:

Windows Script Host

        Script:  C:\Users\Tim\Documents\My Webs\menu.js

        Line:     7

        Char:    1

        Error      'navigator' is undefined

        Source: Microsoft JScript runtime error

Thank you for your help,

Tim

Reply From: Likno Customer Support

Dear Tim,

According to the screenshot, you indeed have the latest AllWebMenus installed, so the problem is most likely that you are copying the wrong filename or (most likely) that the file is not uploaded for some reason.

Please try opening again the compiled file, this time in Notepad. To do this, open Notepad, go to “file -> open” and open the compiled file.

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!

Reply From: Tim

Attached is the file I upload using FileZilla.

Tim

Reply From: Likno Customer Support

Dear Tim,

This file is indeed new, but it is not the file that exists online. When you upload it, do you get any error messages? Also, is it possible that the problem is caused by a caching issue in your server? (i.e. you upload the correct file, but the server still serves the old one)

UPDATE:
I did a test, and the problem is indeed on the server! If you enter the following URL you get the old file:

http://www.USER-DOMAIN-REMOVED.com/menu.js

If you add a dummy parameter (just to avoid the caching) you get the correct file:

http://www.USER-DOMAIN-REMOVED.com/menu.js?a=1

You should contact your host about this issue.

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!

Reply From: Tim

Hello Kostas,

I'm back. To make a long story as short as possible, today has seen its highs and lows.

First, the problem with the old menu not going away was due to a backup service called CloudFlare that had created two IP addresses to serve my hosting company. My site was periodically uploaded and saved at two different locations and for some reason would not recognize some updates...the menu.js being one of them.

CloudFlare has been disconnected and the old menu has disappeared  and the new menu was recognized briefly but disappeared. Now the server does not recognize awmdata or menu.js, even though they have been uploaded and can be seen in the site directory. My hosting company doesn't know what to do and suggested that I come back to you...to make sure I am doing what I'm suppose to be doing and doing it correctly.

As of right now, I have, once again, compiled the menu, uploaded the awmdata folder and the menu.js file to my site's directory. I have linked the menu to a few pages on my site but nothing is happening. No indication that the menu even exists.

Please tell me what to do next.

Thank you very much,

Tim

Reply From: Likno Customer Support

Dear Tim,

I do see the new menu online now! do you not see it still? Did you delete your browser’s cache files? Or maybe the server just needed some time to update?

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!

Reply From: Tim

Good morning Kostas,

Last night, as a last resort, I changed the menu "Flatblack" to another one at random, just to see if it would work. Last night I did not see the "Graycarpet" on the site. This morning I do.

I just now switched it back to "Flatblack" and Graycarpet disappeared and Flatblack cannot be seen.

Is it possible that Flatblack is not uploading properly?

Regards,

Tim

Reply From: Likno Customer Support

Dear Tim,

It is not possible for one menu to update and another not to update… I checked your page and the files are there, still the menu does not show.

My guess is that this is a positioning issue. Did you by any chance use “Relative to Element” in the new menu? If so, then you also need to add a positioning element into the page.

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!

Reply From: Tim

Dear Kostas,

No, checking the Positioning mode, it is marked "Relative to Window". I changed it from upper right to center right. Still can't see it.

Also, I empty both my system and browser cache every time I make adjustments to the site using CCleaner.

Thanks,

Tim

Reply From: Likno Customer Support

Dear Tim,

I noticed that your Menu Linking Code is nested within other page elements. Is this because you are using some website builder that does not allow you to directly put the code right after the <body> tag?

If you have the ability to move the Linking Code right after the <body> tag, please do so. If this is not an option, then please check the following option in the Project Properties:

clip_image002

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!

Reply From: Tim

Kostas...you are the greatest!!

Menu now appears...slowly, but it now is visible. I'll contact the web page maker for instructions about the body tag placement.

Thank you so very, very much!!

Best regards,

Tim

Reply From: Likno Customer Support

The delay occurs because when the Linking Code is within other tags, then the menu will only start loading after the whole page has completed loading.

If you can move the Linking Code right after the <body> tag then you can remove the specific Project Property option and the menu will load faster.

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!

 

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

 

When you link a menu created by AllWebMenus Pro into one of your HTML pages, a portion of JavaScript code, called Linking Code, is automatically generated and added right after the <body> TAG of your page's source code.

In case that the Linking Code instance has not be placed in the correct position, because either you have chosen to place it manually or you are using a CMS (Content Management System) that places it in a different way of AllWebMenus Pro, you will encounter a lot of problems regarding the appearance of your menu; your menu may not appear in all the browsers or may appear corrupted in some of them.

In case you are using specific CMSs there are a few differences in the positioning of the Linking Code instance within your page's source code (e.g. FrontPage). In some cases CMS tools position the Linking Code instance in different TAG than the <body> TAG and need to perform specific actions so as to integrate correctly AllWebMenus Pro with them.You can find all the appropriate information for the integration of AllWebMenus Pro with them, in the following link of our company's site: http://www.likno.com/web_authoring_tools.html

If you are not using any CMS, then the solution is simpler. You either have to relink your menu using the automatic process of the AllWebMenus Pro (you can find all the appropriate information about how to unlink a menu through AllWebMenus Pro in the following article: http://www.likno.com/blog/how-to-unlink-an-allwebmenus-menu-from-your-pages/655/) or you have to edit your page (i.e. the page that is using a menu created by our DHTML menu maker) using a simple text editor and move the Linking Code right after the <body> TAG of your page's source code.

 

Tags: , , , , , , , , ,

 


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