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


Initial Email From:
Terry
Initial Email Subject: Menu Button Not Working in Firefox
Support Case Month: April 2013

Kostas,

I have main navigation buttons that work with Chrome, IE 8 and 9, Safari and Opera.  But they do not work with Firefox.  Can you have a look at the problem?

Terry

Reply From: Likno Customer Support

Dear Terry,

It seems that there is an error in your scripts. Specifically you are passing an “event” variable that does not exist. Since you do not seem use this variable anywhere, I suggest that you remove it.

Change the following line from:

function mNavi(event, id, n) {

To:

function mNavi(id, n) {

and all the links that are like this:

<a class="navlink" id="navlink2" href='javascript:mNavi(event, "a#navlink2", 2);' >

into something like this:

<a class="navlink" id="navlink2" href='javascript:mNavi("a#navlink2", 2);' >

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:
Claudio
Initial Email Subject: JavaScript function to trigger menu refresh.
Support Case Month: April 2013

Is there a JavaScript function I can trigger to force the refresh of the menu without having to refresh the page?

I am developing my first responsive menu, and the only solution that I could find to "wrap" the entire menu into a single button for the smartphone was to use jQuery to create another node in the <ul><li> structure for the menu.

It works! But the page needs to be refreshed.

I am open to other ideas and suggestions.  Do you have examples of other web sites that use your responsive menus that I can take a look at?  I have been using your product for many years and I don't mind adapting my design to fit your product specifications.

One more question related to Responsive Menus.

Please check in the iPad the link below.

  1. On portrait mode, select the menu option "Products", it should open the sub-menu.
  2. Leave the submenu open, and change the orientation to landscape mode.  The sub-menu remains open, but moves to Technical.

I would prefer that each time we change the orientation of the screen, the sub-menus would automatically close.

If you provide me the Javascript function that takes care of that, I can put in my code, but in this case I actually think should be default in the compilation of the AllWebMenu.

Claudio

Reply From: Likno Customer Support

Hello,

I am afraid that there is no way to refresh the menu without refreshing the page.

The only solution I can think of, is if you put the structure within the application, in which case you are allowed to have a different structure for each responsive version.

This would work, but it does not support pure CSS menus which are based on the UL/LI method (nor menus with dynamic structure, as it has to be defined within the application).

Regarding the iPad submenu issue, I have forwarded it to our developer team and I expect a fix to be released soon (so that the submenus close).

Also please note that the feature you asked for in December (loading the UL/LI menu after the DOM loads) has been included in the latest version of AllWebMenus.

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

Thank you very much for your responses.  I understand the delay because I also deal with technical issues that sometimes they either pile up or take longer to resolve.

I am happy that the issue of December was resolved!  I will download the latest version and recompile some of my menus to test it.  Thanks for taking care of that.

Regarding the refresh of the menu, the problem I presented is not a deal breaker.  Unless you are in a demonstration showing how the web site is responsive, resizing the window, you will not encounter problems if you simply land in the responsive web site in a smart-phone, a tablet or a desktop.

However I would like to know what would be a good natural suggestion for dynamically UL/LI responsive menu.

In you example page:  http://www.likno.com/examples/responsive-menu-resize-page.html, if you think about it, it is not a practical solution.

The menu shrinks from one line (above 768px)  to two lines (between 480px to 767px), and finally to a vertical menu (below 500px).

The menu version for smart phones (below 500px) seems to have the menu aligned to the top-left corner to the window browser (I don't know how it was configured), and the content of the page inside div class=highlightBox is being squeezed to the side.  It's not a practical solution! 

By the way, the sample for the page http://www.likno.com/examples/responsive-menu-resize-page.html  should be in pure HTML5, using NAV for the menu....  just a suggestion.  Other web developers might want to see your code to copy your solution.

If you don't mind, I would like to discuss with you some suggestions to present to other programmers. I am not the type to spend time in forums and blogs, but I do like a technical challenge to be discussed directly with the solution provider.  I will be happy if I can help you improve your product, which I like and have been using for a long time.

  1. My solution in Paneltronics web site uses jQuery to dynamically create another UL/LI level to nest the entire main navigation inside a single list item.  The problem (not deal breaker) is the page refresh.
  2. Another option, that I have not thought thoroughly, is to put the AllWebMenus to work with two HTML containers:  Div1 (contains Menu button), NAV. 
    For desktop and tablet:  Div1 is set to display = none, NAV is set to display = block;
    For smartphones:  Div1 is set to display = block, NAV is set to display = none.  A simpler jQuery will toggle the display of the AllWebMenu...  
    ... is that an idea that works?  I will try it later (don't know when), and let you know.

Claudio

P.S.

http://2012paneltronics.atimo.us/AboutUs.asp?op=Snapshot

Please check the page above to see how I decided to implement the responsive menu for mobile.

I created the <div class="buttonR" id="menuButton">MENU</div> and I am using jQuery to toggle between displaying/hiding the menu.

Read my comments in green in the message below.

It's a simple solution and may work well.

Reply From: Likno Customer Support

Dear Claudio,

Nice one! Very clever workaround indeed.

So you are basically moving the Positioning Element of the smaller menu in and out of page and the menu follows that.

I will keep it in mind in case someone else has a similar issue. Also I have added the request to allow for a different UL/LI structure in each “version”. This is of considered a very low-priority for now, but it will be implemented eventually (especially if more people ask for it).

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

Thank you!

Don't worry about the low-priority issue.  I have my problem resolved.  Feel free to share this solution with whoever has the same situation.

Claudio

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

 

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


Initial Email From:
User
Initial Email Subject: Menu does not appear on preview pages
Support Case Month: February 2013

I use SiteSpinner Pro to build my webpages. I cannot get my menu to show up on my project pages in preview mode. Of course this should show me what my published page will look like.

If I "publish to disk" and compile to that page, then open the local page with "HTML Kit" everything looks fine, the menu is placed and operational. If I try to open the preview pages in the editor I get a script error popup that says "The value of the property 'awmBuildMenu' is null or undefined, not a function object."
If I try to compile to the preview page nothing happens.

What suggestions do you have to allow me to see a finished page before I move it to my website?

Thanks

Reply From: Likno Customer Support

Hello,

I am afraid that the preview of SiteSpinner (as well as that of most web builders) does not support complex JavaScript components.

In Dreamweaver or Expression Web there is an option of “live preview” (or “SuperPreview” or something like that in EW) which does fully support JavaScript. I do not know if SiteSpinner has a similar option, but if it does, then the menu should work there.

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:
Joe
Initial Email Subject: want to trigger a dropdown menu by mousing over an image
Support Case Month: February 2013

Hello:

Site is {URL REMOVED}

I hope the attachment demonstrates what I want to accomplish.

When hovering or clicking a column header or the image directly below it, we want the drop part of the menu to appear.

We want to add to the function of the menu to get the dropdown when either the column head or the image is moused over or clicked.

I can send the existing menu file, if needed.

Thanks for considering my question.

Regards,
Joe

Reply From: Likno Customer Support

Dear Joe,

I believe the best way to achieve this would be to actually have the image as part of the menu item. You can do this easily if you set the menu item as HTML and add your image normally.

menu item as HTML

Then you need to fix the submenu position here:

submenu position

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:
Bob
Initial Email Subject: Execute "Javascript Command" from menu item onclick event
Support Case Month: January 2013

I own AllwebMenus PRO 5.3 build 900.

I checked all the help, and I haven't found an explanation on how to call an in-page javascript function from an AllwebMenus menu item, using the "Javascript Command" feature attached to the item's onclick event.  The javascript function I want to call actually resides in the <head> section of my web page like this:

<head>

<!-- header stuff  -->

<script type="text/javascript">

function changeContentInfo(newText)
{
   document.getElementById('DisplayDate').innerText=newText;
}
</script>

</head>

I can call this function from anywhere in my web page - a button click or focus event etc.  But if I try to call it from the "Javascript Command" entry of an AllwebMenus menu item onclick event, nothing happens.

The "Javascript Command" is entered as: changeContentInfo("Monday");

I sure hope it's possible to call a javascript function that resides on the web page, so I can re-use the call from the AllwebMenus "Javascript Command" feature. I don't want to repeatedly write the same full function details into each "Javascript Command" where I would need it.

I'm experimenting with that neat 'calendar' AWM project, and I was checking that my page could respond to clicking on any day in the calendar.  That would mean that I would call my function 31 times for the 31 days in March.  So far, no luck.

The page I'm working on isn't on my website yet, because it doesn't work.

Thanks,
Bob

Reply From: Likno Customer Support

Dear Bob,

If your page already has the function, then calling it from AllWebMenus should work directly and without problems:

run javascript command

If this does not work, then I will need you to upload your example on a test-page so that I can check it.

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

 


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