Recent Questions
Q: I'm interesting in dhtml menue ability to display a different color word on a menu item when the site is on that selected page
A: The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem. You can't get this ID after you reload your page. That is why you should write your own code on PHP.
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 am conisdering purchasing your menu generator product, however I have a question that is very important to me.
How can I add a separator to the dhtml menu examples using the dynamic functions? It seems as though the only way to get a separator into the menu is by defining it before hand, but the website I'm building will require me to reload the menus dinamically, and I'm losing the ability to put separators on it.
If there's a workaround for it, or if there's a chance that you can give me a prototype function that exposes that functionality, that would be acceptable as well.
A: You should add items using the following function:
function dm_ext_addItem (menuInd, submenuInd, iParams)
or
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Find more info:
http://deluxe-menu.com/functions-info.html
Set the following parameter:
var dm_writeAll=1;
So, you should write:
dm_ext_addItem(0, 4, ["|-", "", "", "", "", "", "", ])Q: I am using your Ajax menu and am generally delighted with it. Its ability to load sub menus on the fly is just what I have been looking for.
However, I have noticed in IE7 that it can leave sub menus displayed when you have moused off that particular ajax drop down menu. Can this be fixed?
Also, can you get the menu to disappear when you mouse off the menu, rather than having to hover over another menu or click the page off the menu.
A: See, now you've set the following parameter:
var smHidePause=-1;
It means that your submenus won't be hidden till you click or scroll your page.
If you want to hide your submenus on mouse out you should set another value, for example:
var smHidePause=1000;
or
var smHidePause=500;