Recent Questions Js Tree Sample
Q: I just downloaded the Deluxe-Menu program. It looks very nice, but I keep getting this pop up while trying to set up my first menu:
"an error has occurred in the script on this page:
line 15
char 9
access is denied
code 0
with a link to the toolbar.html in my program files where the JavaScript Tree Menu installed.
At this point, I am just trying my first menu - not using a browser.
(I normally use Firefox but also have IE installed).
A: I suppose that you're using Windows 2000.
We have some problems with Tuner on this OS.
Unfortunately we didn't fix the issue with Windows 2000 yet.
Try to delete all content from toolbar.html file.
C:/Program Files/DeluxeMenus/deluxe-menu/deluxe-tuner/data/deluxe-tree/toolbar/toolbar.html
C:/Program Files/DeluxeMenus/deluxe-menu/deluxe-tuner/data/deluxe-menu/toolbar/toolbar.html
C:/Program Files/DeluxeMenus/deluxe-menu/deluxe-tuner/data/deluxe-tabs/toolbar/toolbar.html
Q: I need to be able to set backcolor of selected menu item of the current page in the dhtml collapse menu. Is there a way to do this?
A: No, unfortunately now you can set the font color for the pressed menu itemonly. We'll try to add more parameters to the pressed item in the nextversion of the dhtml collapse menu.
Q: Can I choose what items will be expanded or collapsed in the php tree view
when the user first comes to the webpage?
A: You can expand some items by default.
Add '+' sign before items text in that case:
["+Javascript/DHTML Tree: XP Style","", "deluxe-tree.files/xpicon1_s.gif", "", "", "XP Title Tip", "", "0", "", "", ],
["|Home","testlink.htm", "deluxe-tree.files/icon1_s.gif", "deluxe-tree.files/icon1_so.gif", "", "Home Page Tip", "", "", "", "data-new.js", ],
"Javascript/DHTML Tree: XP Style" item will be expanded by default in that case.
Use var texpanded=1; parameter to expand all menu items by default.
Use function dtreet_ext_expandItem (itemID, expand) API function to expand the specificmenu items dynamically:
http://deluxe-tree.com/functions-info.htmlQ: Which parameters do I change so that the background of the top level menu names change their background?
A: If you want to change the background of the top level menu items onlyyou should use Individual Item Styles and change them.
For example, you have:
var itemStyles = [
["itemBackColor=#8C63D8,#CBB8ED","itemBorderColor=#8C63D8,#CBB8ED"], //style 0
];
var menuStyles = [
["menuBackColor=#8C63D8","menuBorderColor=#8C63D8"], //style 0
];
var menuItems = [
["Text;", "link", "", "", "tip", "target", "0", "0"],
["Text;", "link", "", "", "tip", "target", "0", "0"],
];
Where "0", "1" - style number in itemStyles.
Please, use Deluxe Tuner application to create and assign individualstyles. You can find Deluxe Tuner in the trial package.