Recent Questions
Q: I'm trying deluxe-menu, but when I'm making my own menu, I often get error messages.
It will not work. I get these messages when I use individual styles.It is a very nice program, but I think with a few bugs.
A: You have errors in your data file.
["|De Groese Til","", , , , , , "0", , ],
["|De Supermarkt","", , , , , , "0", , ],
In this items you assigned menu styles, but there is no menu style in your parameters. You have only item style.
You should write them so:
["|De Groese Til","", , , , , "0", , , ], ["|De Supermarkt","", , , , , "0", , , ],
Q: Does your Tree support right to left languages, like Hebrew? It's is very important for us.
I tried it but the text of the items are left justify.
A: You can use right-to-left languages in the Tree Menu in the same way as in standard htmlcode.
Please, set <HTML dir="rtl">.
Try to set the following parameter:
var titemAlign = "right";
Q: The button menu is on the top of the screen but it has lines through each of the menus just after the words and before the arrow on each of them.
I have stretched the menu out tocover the whole of the top of the page but i need to get these lines out of the menu.
Can you please help me with this problem
A: See 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 11px Tahoma","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
Q: Can I show / hide the javascript floating menu as needed.
A: You should paste javascript code into item's link field of the floating menu,for example:
var menuItems =
[ ["text", "javascript:document.getElementById('dm0m0').style.visibility='hidden'", ...]
];