Recent Questions Javascript Tree With Filter
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: Can I expand a dynamic tree menu from a link in my html page?
A: Yes, it's possible, please see
http://www.deluxe-tree.com/functions-info.html
function dtreet_ext_expandItem (itemID, expand)
function dtreet_ext_getItemIDByIndex (menuInd, itemInd)
Q: I recently upgraded to the new version. Now I am having a problem with the javascript navigation width. I have the main menu set it 98% using the Deluxe Tuner but it only shows it on my web page at about 25%. I can’t seem to get it to change. I have opened the js file and it is showing 98% but still showing at 25% on web page. I am using a floatable horizontal menu with submenus. Can you think of anywhere else I need to check/check a width setting?
A: Check that you haven't set itemWidth parameter in your styles, for example:
var itemStyles = [
["itemWidth=150px"],
];Q: I dowloaded the free trial of this product and I am trying to figure out how to put dhtml pulldown menu into a website that I have built with Homestead.com's Site Builder. I just CANNOT figure out what all I need to do to get it to work.
I am willing to pay for someone to install it or pay for the product but I need to make sure it will work on this site!
A: Unfortunately we don't work with HOMESTEAD.com page builder.
1. upload the folder with all menu files in the same folder with your html page.
2. open the page in your program
3. open html source code of the page
4. add several rows of code (<script> tags), For info see: http://deluxe-menu.com/installation-info.html