Javascript Tree Menu by
(c) 2006,


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=>Javascript Menu by</a></noscript>
<script type="text/javascript" language="JavaScript1.2" src="menudir/dtree.js"></script>
<!-- (c) 2006, -->

<script type="text/javascript" language="JavaScript1.2">
    // and describe parameters of a menu
    var parameter1=value1;
    var parameter2=value2;

    var tmenuItems = [
        // here you generate items using server-side scripts (php, asp, vb, etc.)

Return to FAQ

Fine Slider CSS Software Beautiful MP4 to HTML5 Generator Review  |  Incredible Mobile Site Templates Overview  |  High-quality Online Website Builder | Tutorial 2021  |  Professional Mobile-Friendly Web Page Builder | Review 2022  |  High-quality Free Website Builder | 2021 Review  | 
Copyright (c) 2009,
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. it | easy free website builder | bootstrap navbar | css menu maker | image slider