April 25th, 2013AWM: How can I link a menu positioned to a div with a custom id?
Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.
Initial Email From: Robert
Initial Email Subject: upgrade (sales) questions
Support Case Month: March 2013
I purchased the new version, but I am having a problem with the linking.
Is the linking any different when using DIV tags in which I gave an ID to?
Here's what I did...
I got a new menu, made all changes, told it where to store the root folder, compiled the menu, took the ID form the menu position, awmAnchor-menu and placed it in a DIV tag that I gave an ID name of nav_bar <div id="nav_bar" awmAnchor-menu></div>
The menu showed up on my page, but as soon as I added the awmAnchor-menu to my page it never came back.
Here is a link to my test site:
Also, I attached the menu that I saved. It's just a rough copy.
I think I did everything correctly, the only thing that sticks out is that the help files show an ID given to the awmAnchor-menu, <div id="awmAnchor-menu"> </div>
and I gave the DIV that I am placing the menu in and ID name of nav_bar
Should I name the DIV awmAnchor-menu, and if so where do you place the awmAnchor-menu in the DIV?
Please let me know,
Reply From: Likno Customer Support
The problem is indeed the ID of the DIV where you want to put the menu.
You need to do one of the following two things:
1) Leave the AllWebMenus Positioning as it is, and change the DIV in your page from:
<div id="nav_bar" awmAnchor-menu></div>
2) Leave the DIV in your page with its current ID (but cleanup the “awmAnchor” part):<div id="nav_bar" ></div>
and change the AllWebMenus Positioning to use this DIV instead:
Likno Customer Support
Reply From: Robert
Thank You! Works Perfect!
I read about that but then I recall it recommended to keep it the same.
Anyway, it works!