(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    We want to make this collapsible menu Dynamic by reading from a Microsoft SQL Data base.

Return to Recent Questions


Q: We are wanting to make this collapsible menu Dynamic by reading from a Microsoft SQL Data base. What is the approach in accomplishing this?

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.:


<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>


<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.)
];


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.



Return to Recent Questions

Related:
Effective Link in Bio Services HTML Page Creator Plugins / Overview  |  Smart Cheap and Easy Web Page Builder Tools | Honest Review  |  Top HTML Site Builder - 2021 Review  |  First-rate Responsive Website Builder Software - Beginner-Friendly Guide  |  How To Embed Instagram Feed  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Free AI Website Builder | Free AI Website Generator | AI web design generator | AI web page design generator