Recent Questions
Q: I can't seem to figure out how to specify the width of individual javascript pulldown menu items. I would like to specify that each menu item on the horizontal take up just 113px regardless of the number of characters in the item. Is there a way of doing that?
A: You should use var itemStyles to set an individual item style. Forexample:
var itemStyles = [
["itemWidth=113px"]
];
var menuItems = [
["text 1", "link", "icon1", "icon2", "tip", "target", "0"],
["text 2", "link", "icon1", "icon2", "tip", "target", "0"],
["text 3", "link", "icon1", "icon2", "tip", "target", "0"],
];
Where "0" - style number in itemStyles that contains the parametersfor items width.
Use Deluxe Tuner GUI to create and assign individual styles.
Q: The /js subdirectory of the Apycom Tree Menu trial package has no data file, i.e. the data file is missing.
A: This file can be renamed, for example, into tree-data.js.
This file contains Javascript code with menu parameters and items.
It has the following structure:
var param1 = value1;
var param2 = value2;
var param3 = value3;
...
var tmenuItems = [...];
Please, check that.
Use our examples to see how to install the menu.
Use DHTML Tuner application from the same .zip package to create andconfigure your menus.
Q: Do I need to generate a html file after I create dhtml menu and than work from that file? Or can I just copy and paste the code into my existing html file?
A: It will be better create dhtml menu in Deluxe Tuner and save your menu as html file. And copy html codefor the menu from this file into your page. You should also copyfolder with all menu file and data file with menu parameters into the same folder with you html page.
Q: Is it possible to set the color of the background on a selected item in the slide menu java script like you can with the foreground via:
var tpressedFontColor="#3366FF";
Also is there a list somewhere of all the Vars?
A: No, unfortunately it is not possible now. You can set the pressed fontcolor only.
You can find all info about slide menu java script on http://deluxe-tree.com
http://deluxe-tree.com/parameters-info.html