You can place all content from data.js file into html page directly within <script></script> tags.
It can be helpful when you load menu parameters and items from database (e.g. mySQL) using a server side script (ASP, PHP, VB, etc.).
The dtree_dyn.js file is the module with Javascript functions of the menu.
These dynamic functions allow you to change menu parameters and its components "on the fly" without reloading of the page.
Using these functions you can:
- add/delete/show/hide menu items;
- add/delete sub menus;
- expand/collapse items and sub menus;
- change parameters and appearance of items;
- get different info about components of the menu;
- etc.
To enable these Javascript functions you should set the following menu parameter: