Recent Questions Java Tree Menu Gratis
Q: How do I get the sub-menus to open in the 2nd frame of a 3 vertical frameset.
The menu is in the first frame. I want the sub-menus to open in the 2nd frame. I don't see how to set that parameter.
A: You should check your dm_initFrame() function.
dm_initFrame(framesetID, mainFrameInd, subFrameInd, orientation);
framesetID - id attribute of the frameset;
mainFrameInd - index of the main frame (where the top-menu is placed), >=0;
subFrameInd - index of the subframe (where the submenus will be shown), >=0;
orientation - frame orientaion: 0 - horizontal, 1 - vertical.
You should write it, for example
dm_initFrame("frmSet", 0, 1, 0);
Q: I have menus generated by you deluxe menu package . They look fine on all my computer but look bad on my friends computer.
Can this be fixed?
A: Thanks for your interest in our products.
Try to specify all units in "px", for example:
var menuHeight="22px";
Try to set exact width for menu item
var menuWidth="736px";
Try also not to set
var smWidth="0";
var smHeight="0";
Please, see the attached data file.
You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: I am trying to get my text within a single menu item to have text on two lines as opposed to be all on one line.
For example, I currently have CumberlandHeadElementary School all on one line of a menu. I would like to have Cumberland Head on one line and Elementary School on a line below Cumberland Head. Hope this makes some sense.
Thanks for your help.
A: Try to set this parameter:
var noWrap=0;
If it is not suitable for you, try to use <br> tags in the item text, for example:
var menuItems = [
["please, select the color you<br>prefer for the background
of<br>the image of the photo of your son",,,],
];
Q: Is it possible to have the actual words clickable in order to open up a sublevel menu instead of having to click on the + symbol?
A: Yes, you can do it.
You should set this parameter:
var texpandItemClick = 1;