Recent Questions
Q: I want tree view menu to be in expande state mode, how can I do this? Also, same goes for all the other menus depending which link I click.
A: You can try to to call the following function/functions to expand/highlight items, for example:
<script>
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 0), 1);
dtreet_ext_setPressedItem (0, dtreet_ext_getItemIDByIndex (0, 1));
</script>
See more info about API functions here:
http://www.deluxe-tree.com/functions-info.html
Example:
We have an .exe file - Deluxe tuner.
It generates .js files with menu parameters.
You can also export your menu to .html file.
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"> 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>
Unfortunately we don't have examples with ASP and SQL.
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 would like to know does deluxe menu support Unicode characters? I have enter some Chinese texts through deluxe tuner and I can preview those Chinese text in deluxe tuner preview panel. I have chose "use utf8 encode"already. However after I saved the .js file, the js file encode become ANSI and those Chinese texts in the js file become ?????. Can deluxe tuner autosave the file to UTF8 encode?
A: Please, check that you've set "Tools/Use utf8 encode".
When you save your data file in UTF8 you should use the same encoding on our html page.
So you should write:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
If you don't want to use UTF-8 encode on your page you should turn off"Tools/Use utf8 encode" property, save your data file and manuallychange your letters in any text editor.Q: We really like your deluxe menu product and are interested in making a multiple website license purchase.
In our current production environment, we build sites on a local machine (no domain) and move the files/sites to multiple servers depending on where the domain is being hosted.
Do we have to reconfigure the domain key each time we move deluxe menu related site files from the actual domain server to our local production environment and back again?
A: Notice your key will work on registered domain only. It won't work onlocal machine.
If you want to use the menu on the local production environment youshould buy Developer License.
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 adomain name.