Recent Questions Dtree Js Drag And Drop
Q: What I would like to achieve is a separator in the main menu list of a vertical menu.
I can get the separator to show in submenus but not the main menu.
A: You should write so:
var separatorImage="menu.files/sep_blue.gif";
var separatorWidth="90%";
var separatorHeight="3";
var separatorAlignment="center";
var separatorVImage="menu.files/sep_blue.gif";
var separatorVWidth="90%";
var separatorVHeight="3";
var separatorPadding="0px";
Q: I am trying to convert the menu from the old Apycom menu to the new Deluxe menu and getting an error
Error: 'floatable' is undefined
A: Try to add the following lines into your data file:
// -- Deluxe Tuner Style Names
var itemStylesNames=["Style",];
var menuStylesNames=["Style",];
// -- End of Deluxe Tuner Style Names
Q: I am using your product for a website. It seems that I am getting a Javascript error, particularly when accessing any of thedropdown menus. The details of this error message reference either"line 1" or "line 8".
Char= ...
Error= Object expected
Code=0
URL= (whatever page that I am on).
Please let me know what the issue is asap as my client is anxiousto go live with this and needs to be resolved!!!!!
A: You should check your dmWorkPath parameter. You should write itcorrectly.
You should also check that you copy all dmenu_xx.js files in the samefolder with dmenu.js file.
Please, set also the following parameter:
var itemBorderWidth="0";
This parameter cannot be empty.
Q: I purchased your menu and I am currently using it. I was trying to use the vista template with the images. Yet when I have an js dropdown menu item that is a little long in text the image breaks in to two buttons. Is there a way to fix this or is that just the way it is with these templates?
A: Images in Vista Templates have the fixed width and height (92 x21):
var itemStyles = [
["itemWidth=92px","itemHeight=21px","itemBackColor=transparent,transparent","itemBorderWidth=0", "fontStyle=normal 11pxTahoma","fontColor=#3A3A3A,#000000", "itemBackImage=data-vista-2-04.files/btn_olive.gif,data-vista-2-04.files/btn_white.gif"],
];
When items text is too long you can have such effect.
You can try to use combined background for your items, for example:
var beforeItemImage = [,]; //left-side image for normal and mouse over state
var itemBackImage = [,]; //background or image for normal and mouse over state
var afterItemImage = [,]; //right-side image for normal and mouse over state
var beforeItemImageW = '';
var afterItemImageW = '';
var beforeItemImageH = '';
var afterItemImageH ='';
But you should create a small images in any Graph Editor, for example:
button_n_back.gif
button_n_left.gif
button_n_right.gif
button_o_back.gif
button_o_left.gif
button_o_right.gif