Recent Questions Javascript Simple Tree
Q: I've been working with your javascript menu sample and like what I see so far. One issue I have seems to be with the smColumns variable. I'm assuming it was for just the sub menus but in the trial when I change this the entire menu goes into multi- column mode. I exported the project to HTML thinking I could manually change it there, that produced the same result, changed the entire menu to multi-column.
Our menu will be dynamic (populated from SQL Server) with only some of the sub menus being multi-column. We will even have multiple sub menus for certain items and we'll need to have the capability to set which one of those will be displayed in Multi-columns and which ones will not. (See Below) So the question becomes; Is there a way to set the number of columns only for the javascript menu sample subitems we desire to have multi-column and if so how?
A: You should use Individual Styles and set number of javascript menu sample submenu columns foreach submenu individually.
var menuStyles = [
["smColumns=2","smOrientation=undefined"],
];
Q: I want to use my own function within menuItems in the drop down menu button.
A: You can use Javascript instead standard links. For example:
var menuItems = [
["text", "javascript:launchWin('popups/popup_member_browser.cfm','css_MemberBrowser',600,720,0,0,0)"]
];
Q: I downloaded the trial version and gave it a run.
I cannot get thebackground color of the menu to change – it this a limitation of the trail version or a bug?
A: No, it is not the limitation.
Please, set these parameters:
var menuBackColor="#000000";
var menuBorderColor="#000000";
var itemBackColor=["#000000","#000000"];
var itemBorderColor=["#000000","#000000"];
Q: I need to have two cascading menus in oneself page, please give me instructions of as making it.
A: You should simply call different data files in the place where you want to have a menus(check that you use relative menu position).
See more info here:
http://deluxe-menu.com/installation-info.html