October 28th, 2012AWM: Server Side API issues

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


Initial Email From:
User
Initial Email Subject: Server Side Menus API
Support Case Month: March 2012

I have followed your step by step guide but for some reason the menu won't populate I am unsure what the problem is here is the web page I followed http://www.likno.com/addins/dhtml-menu-serverside-example.html it just wont work for me.

Reply From: Likno Customer Support

Hello again,

I checked your page and it seems the problem is in your generated code. Specifically you need to encode the single quotes:

single quotes

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

I was wondering could it be a write issue I noticed the Javascript has a document.write command where does it make the menu seen as it probably needs write access.  Its the only thing I can think of.

Reply From: Likno Customer Support

Well, I guess you have more than one quote, which is why I suggested that you should encode anything that comes from your DB:

quate error

Please have a better look in your code and if all quote occurrences are removed and you still have a problem, let me know.

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

I have one more question is it possible to have the link goto a target frame such as a target="I1" or is that done on the hidden level? Or not possible?

Reply From: Likno Customer Support

Hello again,

Yes it is. Just add the corresponding property after the item

subItem=subMenu.newItem('style=sub_item_plus_style;text0=PIE CRUST;url=recipes.php?recordID=3');

subItem.targetframe="I1";

you should also be able to achieve the same thing in one line:

subItem=subMenu.newItem('style=sub_item_plus_style;text0=PIE CRUST;url=recipes.php?recordID=3;targetframe=I1');

If you have not already done so, I suggest that you read the documentation on the Server-Side API which can be found in the AllWebMenus installation folder under:

AllWebMenus5/AddIns/ServerSideMenus/Server-Side_Menus_API_Help.pdf

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:
Steve
Initial Email Subject: Converting from Javascript to CSS menu
Support Case Month: April 2012

After using the javascript version for a few years, I want to replace it with the CSS version. However, when I try, the menu doesn't appear. I've constructed a simple test page to work with, but I can't get the menu to appear on it, either. The URL is http://corbamtb.com/test/index.html . Can you take a look at it and tell me what I've done wrong? The horizontal menu bar should appear below the large pale-yellow banner rectangle.

Thanks!

- Steve



Reply From:
Likno Customer Support

Hello Steve,

I looked at your web page and saw that you forgot to populate your menu using UL / LI elements in the page. The CSS menu requires that its items are sourced from the page itself.

Please click this link in AllWebMenus to see what you forgot to add in your page:

css menu settings

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

 


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