Recent Questions Form Css Tree MenuQ: Everything is working quite well -- with the following exception:
I added a button.gif file to my item, hoping that the graphic would appear rather than just a colored cell. (Yes, I did upload the button.gif file to the .files folder.)
My work looks great in the preview window, but still shows the colored cells in my web page (www.misyssbm.com/buy/index.php left side menu). My text changes show up on the web page, so I know it was updated.
Any ideas (note I have two deluxe menus)?
A: You should check all your images paths.
You should also upload these files on your server in"side_menu.files/" folder.
I've tried to download "side_menu.files/btn_navy.gif" but I can't doit.
Please, check it.
Q: I'm trying to have two separate menus on my web page. I read what was written in your FAQs about multiple menus, but the response was too cryptic.
It seems to me that if the dmWorkPath for each menu is declared separately, then the menus should work separately (with no interaction). I did not find this to be the case.
Do you have more complete information about creating multiple menus on one page? I would like to understand the issues.
A: David, if you want to create multiple menus on one page you should only call several data.js files with the menu.
For example you can see templates.html. You can find this file in the trial package.
Q: Can you please give me an example of how I would return the full path to the selected item of the web site menu?
A: See the following example:
// get pressed item
var params = dm_ext_getMenuParams(mInd);
if (!(params>=0)) return '';
// get for this item
var params = dm_ext_getItemParams(mInd,smInd,itInd);
var result = params+ '('+ params+')';
// find root item id
if (smInd <= 0) return result;
params = dm_ext_getSubmenuParams(mInd,smInd);
for ( var smInd_=0;smInd_ for ( var itInd_=0;itInd_ itParam = dm_ext_getItemParams(mInd,smInd_,itInd_);
if (itParam=arams)// id
return result + '->' + getPathForItem(mInd,smInd_,itInd_);
Q: I would like all my submenus of the html menu to appear in the same location on the page and not relative to the parent menu item.
A: You can do it using the following parameters:
var subMenuAlign = "left"; - Horizontal alignment for submenus.
"pleft", "pcenter", "pright" - alignment relative to the parent submenu.
var subMenuVAlign = "top"; - Submenus vertical alignment.
"ptop", "pcenter", "pbottom" - alignment relative to the parent submenu.