|
|
|
Description of Files
|
Description of Menu Files
|
|
Deluxe Tree package contains the following files:
The menu loads different files to decrease a loadable data level according to the selected features of the menu.
data-tree.js
Data for the menu are stored in a separate .js-file (data-tree.js by default).
You can rename this file as you wish.
This file contains:
1. Menu parameters.
2. Items, styles and XP styles.
3. Function for a menu initialization (dtree_init()).
See sample code.
All content from data-tree.js file can be placed directly into html page within <script></script> tags.
It can be helpful when you generate menu parameters and items from database (e.g. mySQL) using a server-side script (PHP, ASP, VB, etc.).
Use Deluxe Tuner application to create and save such files for your menus.
dtree_dyn.js
The dtree_dyn.js file is the module with Javascript functions of the menu.
These functions allow you to change menu parameters and its components "on the fly" without page reloading.
Using these functions you can:
- add/delete/show/hide menu items;
- add/delete submenus;
- change parameters and appearance of items;
- expand/collapse items and submenus;
- get different information about components of the menu;
- etc.
To enable these Javascript functions you should set the following parameter:
var tdynamic=1;
dtree_ajax.js
The dtree_ajax.js file is the module with the AJAX-like support.
AJAX-like technology allows to load data for submenus "on-the-fly" from the server.
Supported browsers (Windows OS): IE5+, Firefox, Mozilla, Netscape 7+, Opera 8+, Safari; MAC OS: Firefox, Safari.
Necessary menu parameter:
var tajax = 1;
|
|
|
Copyright (c) 2009, Deluxe-Menu.com
|
All rights reserved.
|
|
|
|