Recent Questions
Q: How I can write the changed dhtml pull down menu into a database?
A: Unfortunately, we don't have such example.
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.:
<!-- Deluxe Tree -->
<noscript><a href="http://deluxe-tree.com">Javascript Tree Menu by Deluxe-Tree.com</a></noscript>
<script type="text/javascript" src="menudir/dtree.js"></script>
<!-- (c) 2006, http://deluxe-tree.com -->
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
var tmenuItems = [
// 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.html
This example is not for Deluxe Tree menu, but you can create your menu in the same way.
Q: Can you provide an example of how to dynamically change the menu items at runtime for the dropdown menus?
(asp is fine, but if it needs to javascript that is also ok)
A: 1) You can use API functions to affect items dynamically:
http://deluxe-menu.com/functions-info.html
2)Generate your menu items dynamically from database.
Unfortunately we don't have working example with ASP.
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.:
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2008, 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.html
Q: I can't get drop down navigation menu to centre in the table..
I want it to - which is just below the header flash
Could you let me know what to do
A: Now you're using absolute position for Deluxe Menu:
var absolutePos=1;
You should use relative position:
var absolutePos=0;
Try that.Q: I have downloaded the trial version of the tree menu to use it to create our products list that will be distributed on a CD. We have decided to buy it but we are confused which license we should buy!
Which license we should buy?
A: To use Deluxe Tree on CD/DVD you should buy developer license.
Other licenses allow you to use the menu on Internet / Intranetwebsites only.
With the Developer license you can use the menu on an unlimited number ofInternet or Intranet sites and on the local machines.
This version of the script doesn't check keys and it isn't bound to adomain name, so it can be used with an application that doesn't have afixed domain name. There is also no need to add <noscript> tag to eachpage.
See in Single Website License, Multiple Website License and DeveloperLicense our source code is obfuscated.
And in Developer License with Javascript Source Code you can see thecode and change it. This is unique difference between Developerlicense and Developer license with source code.