PHP Classes

File: tree.php

Recommend this page to a friend!
  Classes of Roberto M.   Tree AJAX   tree.php   Download  
File: tree.php
Role: Example script
Content type: text/plain
Description: Demo file
Class: Tree AJAX
Show a tree of nodes opened dynamically with AJAX
Author: By
Last change:
Date: 15 years ago
Size: 846 bytes


Class file image Download
Class: Tree Class
Developed by: Roberto Morales Olivares |
Creation date: 2 / Septiembre / 2007
Funtion(es) realizada(s): Demo tree.
Comments: This class generate a dynamic tree ajax directory of items retrieved from MySQL dabatase tables.
    <title>Tree Class</title>
    <!-- Ajax class -->
    <script type="text/javascript" src="javascript/ajax.js"></script>
    <!-- Javascript class -->
    <script type="text/javascript" src="javascript/tree.js"></script>
    <!-- Style sheet -->
    <link rel="stylesheet" type="text/css" href="style/tree.css" media="screen" />
=new Tree($_GET["id"]); // or $_POST["id"] numeric value of the root folder/category/directory to create the tree