JavaScript Tree java script tree menu dhtml tree navigation javascript tree view control node expand collapse javaswcript tree example free tree menu

PRODUCTS

JavaScript Projects

PHP Projects

Javascript Tools

Website Templates

SUPPORT

Standard vs PRO

FAQ

Forum

Contacts

Site Map

CODETHAT

Sales & Prices

Downloads

Users Testimonials

Affiliate registration

Our Customers

STUDIO   GRID   TABLE   MENU   TREE   XPBAR   HINT   EDITOR   TAB   FORM   CALENDAR   SCROLLER   SHOPPINGCART   TREEPHP   PACKER

User
Manual

Introduction    Item's look    Item's positioning    Items' actions    Using XML    IE-like style

Run-time item manipulation    HTML code as nodes text    Tree from the database

Mouse-over behaviour    Performance tips    What's new?    Tree reference    STD vs PRO

On-line
Builder

PRO

STD

123Guide    Examples    Download

Order PRO Now    Themes

CODETHATTREE USER MANUAL

Explorer-style Tree

With CodeThatTree you can create an explorer-style tree like this:



To get an explorer-like tree the following style parameters should be set:

imgline           : string   : url of the image for a line
imgitem           : string   : url of the image for a tree leaf
imgitem_l         : string   : url of the image for the last tree
                               leaf on its level (L - like image)
imgdir            : string   : url of the image for a tree node
imgdiropen        : string   : url of the image for an open tree node
imgdir_l          : string   : url of the image for the last tree node
                               on its level (L - like image)
imgdiropen_l      : string   : url of the image for the open last tree
                               node on its level (L - like image)
lined             : boolean  : should be true to draw an explorer - like tree

For example:

"style" : {
	"imgline" : "img/line.gif",
	"imgitem" : "img/t-item.gif",
	"imgitem_l" : "img/l-item.gif",
	"imgdir" : "img/t-folder.gif",
	"imgdiropen" : "img/t-folder-open.gif",
	"imgdir_l" : "img/l-folder.gif",
	"imgdiropen_l" : "img/l-folder-open.gif"
	"lined" : true
}

Example - Explorer-Style Tree

You can see an example and complete code here - Explorer-Style Tree Example [popup]

Tree with wrapping new

With CodeThatTree you can create an lined tree with wrapped text

Note. We advice you use wrapping only in simple nodes not folders.

"style" : {
	"wrap" : true
}

Example - Lined Tree With Wrapping

You can see an example and complete code here - Lined Tree With Wrapping Example [popup]

Generally, the property wrap can be used with any tree, not only lined. By default, this property is false.

Read more about CodeThatTree >>

[ Home ]  [ Forum ]  [ Contacts ]  [ Site Map ]  [ News ]  [ Links ]  [ Sales & Prices ]  [ Downloads ]

[ Go Top ]

© CodeThat.com, 2003-2008
Design by XTLabs, Inc.