Recent Questions Dtree Treeview
Q: Do you have a template example of creating menu javascripts using data stored in a database?
A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
However, these scripts don't work inside of Javascript .js files,
so, you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2006, http://deluxe-menu.com -->
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];
</script>
The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.htmlQ: I will probably purchase your developer version mostly because I want access to the 600 icons....
1) Do you offer access to these icons with any other license for css drop down menu?
2) I develop sites for several clients, what is involved for them to make small changes to their menus... i.e. add or delete a menu item or sub-item... Will they need to purchase a license to make changes?
3) Does the developer version access your site at runtime? I do not have a problem registering my client sites and getting a key... I just want to make sure at runtime their site does not contact yours.
A: 1) Icon collection is available in Developer licenses only.
2) No, there is no need to purchase the license in that case.
3) No, script doesn't access our site at runtime.
Developer version of the script doesn't check reg. keys at all.
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 css drop down menu 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: What an incredible menu!! I have never seen anything like it.Would it be possible to create a version of the dhtml menu that displays items one level down from the top menu in a 6x4 cell layout (effectively a rectangle) rather than vertically? If so, how much would the customization cost?
A: Yes, you can place the menu to the any part of your html code.Please contact support (at) deluxe-menu.com for the customization rates.Q: I have to pass dynamic value from the link when the user click the mouseover menu.
A: Actually you can use your own Javascript code instead standard links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
or
var menuitems = [
["<div onClick='your_code_here'>item text</div>", ""]
];