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


    Description of Files

Description of Menu Files

Deluxe Tree package contains the following files:

data-tree.js data file with menu parameters, items, styles and XP styles
This file can be renamed.
dtree.js menu engine file
dtree_add.js additional module for floatable/movable menus
dtree_dyn.js additional module with Javascript API to change the menu "on-the-fly"
dtree_ajax.js additional module with the AJAX-like support

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;



Bootstrap Sidebar Example Bootstrap Header Using  |  Bootstrap Clearfix Working  |  Bootstrap Offset Example  |  Bootstrap Menu Styles  |  Bootstrap Radio Example  | 
Copyright (c) 2009, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. html website maker | Bootstrap Templates | best web design software | top web builder | top free website builder