Recent Questions
Q: I am programming in asp.net 1.1 and asp.net 2. I have a situation where the client wants to govern security with roles. Is there any functionality for deluxe tree to show/hide specific branches based on security levels (i.e. roles)?
A: You should to use API function
function dtreet_ext_showItem (itemID, visibility)
More info you can find here:
http://www.deluxe-tree.com/functions-info.html
Q: I am in the final stages of testing and need some advice and help.
I have two problems I am trying to address.
1) Arrows on dropdown menu select.
2) Load time.
Please notice, I have to use absolute paths for the dropdown menu select to work.
1) I can't get the arrows to show, so I tried to add the code for images in the first bold sentence below.
2) I tried to add the second line for absolute paths for links to increase load time in the second bold sentence. It appears that the load time is increased by about 3 seconds and that the menu is the last to load, even though I have tried to have this as the first html to load.
Neither one of my commands appear to work.
This site has over 10,000,000 items on it, and I can't wait to get this up and running. Your program is the perfect solution for anybody with a website.
A: 1) Now you have:
var arrowImageMain=["mainmenu.files/arrv_blue_2.gif","mainmenu.files/arrv_white_2.gif"];
var arrowImageSub=["mainmenu.files/arr_blue_2.gif","mainmenu.files/arr_white_2.gif"];
You should set your arrows in the following way:
var arrowImageMain=["arrv_blue_2.gif","arrv_white_2.gif"];
var arrowImageSub=["arr_blue_2.gif","arr_white_2.gif"];
2) Your menu is very large. I advise you to us AJAX like technology.
http://deluxe-menu.com/ajax-technology-menu-sample.html
You can also try the following things:
move all <script> calls into <head>, but delete dm_init() function from mainmenu.js file -- move them instead offiles calls, i.e.:
<head>
<script src=mainmenu.js>
...
</head>
...
<div><script>dm_init();</script></div>
It this case data will be loaded when <head> will load, but after thatdropdown menu select must be shown quickly.
Let me know about results.
Q: How do I change the font style for menus to bold, but leave the sub-menus normal in the html navigation bar?
I understandthere’s a “fontStyle” variable, but is there an “itemfontStyle”?
A: You can use Individual Item styles to set specific parameters for eachitem or submenu.
var fontStyle=["normal 9pt Verdana","normal 9pt Verdana"]; //for subitems
//style for the top items:
var itemStyles = [
["itemHeight=21px","itemBackColor=#F2F3F2,#1665CB","fontStyle='bold 9pt Verdana','bold 9pt Verdana'"],
];
Q: I have bought this from you. What is the name of the divlayer(s)? Here's a bit of the modified menu code:
["|<iframe height=400 width=435 frameborder=0 scrolling=no src=my_bookmarks.asp></iframe>","","","","0",,,],
I open an Iframe inside the javascript menu design item, and it works fine, but is there a way to close it? I know the commands for hide layers, but I can't find any div layer names to use.
A: I'm not sure I understand you.
Do you want to hide your items?
You can try to use API functions
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
Find more info here:
http://deluxe-menu.com/functions-info.html