JSCookTree JavaScript Tree

JSCookTree (v1.0) is a simple javascript based tree builder. It allows users to create cool looking trees and menus easily. The program should work on IE4+ and Netscape 6+. This program is relatively simple to use and very versatile. So give it a try.


You can look at my homepage for more examples.


You can try out the following themes:

To use the themes, first download the theme zip file. After unzip, configure theme.js so that directories are properly located. It is usually better to use absolute URI path, but then you might not be able to test trees locally. Up to you. Then include the following

<LINK REL=stylesheet HREF="Theme_XP1/theme.css" TYPE=text/css> <SCRIPT LANGUAGE="JavaScript" SRC="Theme_XP1/theme.js"></SCRIPT> <SCRIPT LANGUAGE="JavaScript" SRC="js/JSCookTree.js"></SCRIPT> with correct path for theme.css, theme.js and JSCookTree.js. theme.css contains style sheet. theme.js contains default tree node properties for node graphics so that you could pass theme to drawTree function as the node properties.

If you could make more themes, please email them to me at heng@ag.arizona.edu. Thanks.


JSCookTree is copyrighted by Heng Yuan, 2002. The program is distributed under BSD license. It is provided 'as is'. There are no registrations or fees for using this program. If you want to modify the program, please include the proper credits.