PX : code

ApPHP TreeMenu by Chara Miteo
Download this code


<?php

require_once("treemenu.class.php");
$treeMenu = new TreeMenu();
$squares $treeMenu->AddNode("squares","content/square.jpg");
     
$squares->AddNode("red","content/redsquare.jpg");
     
$squares->AddNode("green","content/greensquare.jpg");
     
$squares->AddNode("blue","content/bluesquare.jpg");
$circles $treeMenu->AddNode("circles","content/circle.jpg");
     
$circles->AddNode("red","content/redcircle.jpg");
     
$circles->AddNode("green","content/greencircle.jpg");
     
$circles->AddNode("blue","content/bluecircle.jpg");
$treeMenu->AddNode("star","content/star.jpg");
$treeMenu->Display();

// or 
// Could be found here:
// http://www.apphp.com/php-tree-menu/index.php

?>

Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.