Recent Questions Htlm Treemenu Java
Q: What i am doing is a horizontal menu with submenus opening down vertically. The main menu and sub menu has a background image. These are rather large for a menu and when the sub menu expands i want it to stay below the main menu and not go upwards to cover the main menu when the browser window is too small.
A: Yes, they will stay forcibly below the main menu.
You can use Smart Scrollable Feature. In that case sub menus won't cover
the main menu items. You can see an example here
http://deluxe-menu.com/scrollable-submenus-sample.html
You may specify the exact height for submenus, for example:
var smHeight="500px";
Use the following parameters to set the direction for submenus:
var subMenuAlign="left";
var subMenuVAlign="top";
For more info see:
http://deluxe-menu.com/ways-showing-submenus-sample.htmlQ: I am working with drop down menu creator that I just downloaded and am having problems with where the menu is being placed. It looks likemaybe the "trial" logo is in the right spot but the menu is appearing several rows below where I insert it. Any ideas?
A: Try to set the following parameters:
var posX="0px";
var posY="0px";
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:
function getFullPath(mInd){
var result='';
// get pressed item
var params = dm_ext_getMenuParams(mInd);
if (!(params[2]>=0)) return '';
function getPathForItem(mInd,smInd,itInd){
// get for this item
var params = dm_ext_getItemParams(mInd,smInd,itInd);
var result = params[2]+ '('+ params[3]+')';
// 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[0]=arams[2])// id
return result + '->' + getPathForItem(mInd,smInd_,itInd_);
}
}
return result;
};
return getPathForItem(mInd,params[1],params[2]);
}
Q: Where do I add my "blahblah.htm" page links in js menu?
Copy of menu data below. I assume it is between the first pair " " but not sure about all the , , , , , "0" etc following.
["Home","", , , , , "0", , ],
["Contact","blahblah.htm", , , , , "0", , ],
["|Hosts","", , , , , , , ],
A: You're right, the following syntax is correct:
["Contact","blahblah.htm", , , , , "0"]
Here is the format for a menu item:
["text", "link", "icon1", "icon2", "tip", "target", "styleIndex"]
Please, try to use Deluxe Tuner application to configure your menu:
http://deluxe-menu.com/deluxe-tuner-info.html