Recent Questions Javascript Tree Menu
Q: In dhtml xml menu, is possible call javascript when click on an item without close the menu?
A: In JavaScript Tree Menu you can use the following parameter:
var smHideOnClick=1;
Hides submenus on click
0 - disabled, 1 - enabled.Q: I bought on September 28th the complete pack Deluxe after having tried it for an application which is not a site but which contains HTML pages and drop-down menus which were made with deluxe tree.
I deleted the trial version and installed the definitive version.
I placed the key the var key = "XXXXXXXXX; in each of my menus (three in everything) and I replaced dtree.js, dtree_add.js and dtree_dyn.js by those of the new version in each directory
Now when I relaunching I have an incorrect key which appears in the top of the menus...
Why?
Is these key has a relationship with the name of the site indicated during the order? By reading again the information I indicated the name of my site but it is not for this site that I wished the menu drop down, only for this application which has no precise name...
A: See, you should 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://klinikum-nuernberg/
http://192.168.0.1
http://localhost
But you menu won't work on a local machine, for example
j:\Stationshandbuch\start.html
with Single or Multiple licenses.
If you want to use the menu with an application that doesn't have afixed domain name you should buy Developer License.
With the Developer license you can use the menu on an unlimited number of Internet or Intranet sites and on the local machines.This version of the script doesn't check keys and it isn't bound to a domain name,so it can be used with an application that doesn't have a fixed domain name.
Q: I would like to purchase your menu system but I need to know if I can control disable property for the menu javascripts
A: You can try to use the following function:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
Shows/hides the item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0. See more info about indexes here.
visibility = true/false - visibility of the item.
More info you can find here:
http://deluxe-menu.com/functions-info.html
Q: I can not however find the option to move submenus closer together, I have too much ident for my taste.
How can I change that, by hand if that is the only way...
I mean this:
MENU1
+ SUBMENU1
I would like
MENU1
+ SUBMENU1
Is that possible?
A: If you don't want to have icons before item text you can write so:
//------- Icons -------
var ticonWidth = 0;
var ticonHeight = 0;
var ticonAlign = "left";
Your items will be closer to the "+" buttons.