Recent Questions
Q: My question is regarding the single user license. I am currently writing a website for use on my companies intranet. The machine I am writing it on will unlikely be the machine that it eventually lives on, which could also quite possibly change as well. Looking at the instructions for the license, it seems I require a domain name for the key. The problem is that the current machine I am using is not in DNS, & even if it were, the machine that it will eventually live on will not resolve to the same name (if it even will have a DNS entry in our internal DNS server). So, does the license look for the name that is specified from the client browser, or does it look internally on the web server itself? I am wondering if I set the web servers hosts file or httpd.conf to reference the name given in the license key taht will allow me to transfer the menu to another server?
A: You can register the menu for a domain name or for IP address.
In other words, you should register the menu for the domain name thatyou print in a browser's search string, for example:
http://intranet/
http://intranet/folder
http://192.168.0.1
Q: When I create a tree menu that can be expanded with the double arrows. I was wonder if there was a way to have the dhtml slide tree menu already expanded with I open the page the menu is on instead of having to expanded every time.
A: To expand items by default in Deluxe Tree you should add '+' symbolbefore item text.
Foe example:
["+Deluxe Tree: XP Style","", "default.files/xpicon1_s.gif", "", "", "XP Title Tip", "", "0", "", ],
["|Home","testlink.htm", "default.files/icon1_s.gif", "default.files/icon1_so.gif", "", "Home Page Tip", "", "", "", ],
["|Product Info","", "default.files/icon2_s.gif", "default.files/icon2_so.gif", "", "Product Info Tip", "", "", "", ],
["||What's New","testlink.htm", "default.files/iconarrs.gif", "", "", "", "", "", "", ],
["||Features","testlink.htm", "default.files/iconarrs.gif", "", "", "", "", "", "", ],
...
The following parameter expands all menu items by default:
var texpanded=1;
Q: Do the Vista style menus support a separator?
It seems to add some space but the separator line is not drawn.
A: Yes, you can paste a separator in the Vista style menus.
Please, see the following parameters:
//--- Separators
var separatorImage=""; //for subitems
var separatorWidth="5";
var separatorHeight="100%";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="3";
var separatorVHeight="100%";
var separatorPadding="";
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
Try that.
Q: I was trying out the Vista samples and was able to change the sub-item font size but not the cascade menu javascript item(s) font size. Is this by design?
A: You should change font for the main items in the Individual Styles.
var itemStyles = [
["itemWidth=92px","itemBorderWidth=0","fontStyle=normal 11pxTahoma","fontColor=#FFFFFF,#FFFFFF","itemBackImage=data-vista-03.files/btn_magentablack.gif,data-vista-03.files/btn_magenta.gif"],
];
Try that.