Recent Questions
Q: I updated the files you talked about. I can see the javascript cascading menu on most computers, but not all. I am sorry to ask the same question over but my problem is persisting with some computers.
A: It is not correctly to add # symbol before the top item. This itemwill be hidden.
You can find more info here:
http://deluxe-tree.com/menu-items-info.html
Now you have:
["#FCLWD-SFCSD Home","http://www.fclwd.com/", "", "", "", "", "", "0", "0", ],
You should write:
["FCLWD-SFCSD Home","http://www.fclwd.com/", "", "", "", "", "", "0", "0", ],
Q: I place all of my files in folders. If I want the Deluxe menu to work I have to have the Deluxe menu saved in each folder for it to work with the files inside those folders.
A: There is no need to copy al files for the menu in each folder.
To install the menu you can use such paths:
<script type="text/javascript"> var dmWorkPath = "../menudir/";</script>
<script type="text/javascript" src="../menudir/dmenu.js"></script>
You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: How does your multiple website license work? Do you have license details? For instance, our company develops a web application that we then license for other companies to use. Can we simply use your multiple website license?
A: See, with Multiple Website license you should generate your own keysand use them on your Intranet/Internet websites.
Your key will work on the registered domain name only. It won't workon a local machine.
If you want to use the menu within application which doesn't havefixed domain name you should buy Developer License.
This version of the script doesn't check keys and it isn't bound to adomain name.
Q: I've been trying to get the menu item in dynamic tree menu to stay highlighted when clicked on and directed to that page.
A: Tree Menu doesn't save a presseditem as it saves a tree state.
It works within 1 page only and if youreload the page you should set a pressed item using Javascript API:
function apyt_ext_setPressedItem(menuInd, itemID)
<script type="text/javascript">
var i = 4 //index of the selected item
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}
To expand specific items you should use the following function:
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 11), 1);