Javascript Tree Menu by Deluxe-Tree.com
   
(c) 2006, Deluxe-Tree.com
   
   


    FAQ

Return to FAQ

Q: Is it possible to generate menu (menu items) from a database or XML using PHP, ASP, VB, etc.?
A: Oh, yes, it is.
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 Menu by Deluxe-Tree.com</a></noscript>
<script type="text/javascript" language="JavaScript1.2" 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>

Return to FAQ

Greatest 11 Best Wix Alternatives Website Software Best Free QR Codes Generator  |  No Code Website Builder - Easiest Website Builder  |  Beautiful Free HTML Page Builder You Should Try  |  Website Design Tool - Website Design Tool  |  Static Site Generator - Landing Page Creator  | 
Copyright (c) 2009, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. https://mobirise.com/ | Free Bootstrap Template | easy free website builder | bootstrap navigation menu | html slider