Recent Questions Free File Tree Javascript
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: I dowloaded the free trial of this product and I am trying to figure out how to put dhtml pulldown menu into a website that I have built with Homestead.com's Site Builder. I just CANNOT figure out what all I need to do to get it to work.
I am willing to pay for someone to install it or pay for the product but I need to make sure it will work on this site!
A: Unfortunately we don't work with HOMESTEAD.com page builder.
1. upload the folder with all menu files in the same folder with your html page.
2. open the page in your program
3. open html source code of the page
4. add several rows of code (<script> tags), For info see: http://deluxe-menu.com/installation-info.htmlQ: How can I set the padding for the dhtml horizontal menu text at the top? I want more padding on the left of the text but I don't want it centered.
A: You can set bigger left padding for your Submenu Style, for example:
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 25px"],
];
itemPadding=0px 5px 0px 25px
top right bottom leftQ: I am trying to implement JavaScript Tree Menu 2.0 on a .aspx-page.
However the Norwegian characters are not showed correctly. (only in the menu)
What do I need to do?
It works fine with the old version of JavaScript Tree Menu in our normal asp-pages.
A: When you call data .js file you can try to specify the encoding:
< SCRIPT src="Dansk Aktionarforening11_files/data.js" charset="UTF-8"> </SCRIPT>
or
<SCRIPT src="Dansk Aktionarforening11_files/data.js" charset="ISO-8859-1"> </SCRIPT>
Try that.