Recent Questions Javascript Tree Diagram Script
Q: I would eventually like to be able to distribute the javascript navigation menu with some of my templates, is this permitted with the Developer license?
A: With the Developer license you can use the menu on an unlimited numberof 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 testing the menu under the 2nd URL however I am just receiving a blank page Why would the menu be totally blank ...not even incorrect key or trial version warnings. Does Deluxe menu need ASP installed on the server.
A: You should call dmWorkPath parameter before you call dmenu.js file.
Check also that this parameter point to the same directory withdmenu.js file. So, you should install the menu in the following way:
<noscript><a href=http://deluxe-menu.com/>JavaScript Menu by Deluxe-Menu.com</a> </noscript>
<script type="text/javascript"> var dmWorkPath = "/";</script>
<script type="text/javascript" language="JavaScript1.2" src="dmenu.js"></script>
Check it.
Q: Hello I am trying out deluxe menus. Fantastic piece of software - however the test menu I have created only works fine when I upload to an area outside the restricted area (i.e members area) of my server. Inside this area and it does not appear. Is that becuse I am using the trial version?
A: Thanks for your interest in our products.
No, it is not the reason. Trial version has full functionality.
Please, send us a direct link to your website, so we can check it.
Q: Compliments on your product, I particularly enjoy the complete set of gui and java, that allows for the quick changes.
After a couple of months of using the trial, I have now purchased it and installed the license.
My question however regards the performance of the menu. Using firebug I note that my deluxe menu .js are the performance bottlenecks, It appears as if they are not being cached and it appears that collecting them is taking longer then the other .js files. What can I do to optimize the load time of the javascript multi level menu and prevent, reloading it from the server with every page reload. The apache has set the expiry correct I believe, as I understand from the header.
A: You can try to use AJAX technology.
AJAX-like technology: data for submenus can be loaded "on-the-fly" from the server.
New parameter:
var tajax = 0/1; - disables/enables AJAX-like support
Current syntax for item parameters ( var tmenuItems):
[text, link, iconNormal, iconOver, iconExpanded, tip, target, itemStyleInd, itemXPStyleInd, jsFileName]
Where jsFileName - .js filename on the server with submenu items ( var tmenuItems).