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

Performance Tips

With CodeThatTree you can create trees with almost unlimited items number.

But when a tree has 50+ items it may become slow for some reasons.

To make such a tree faster follow the tips below:

Do not use borders and shadow

These features require additional layers. So it may slow down performance for tree with large items quantity.

Use background with appropriate images instead.

You should create special image and then use it for background by using the constraction like this:

var TreeDef =
{
	"style"	 :
	{
		"bgimg" : "/img/bg.gif",
	}
	...

Example - background instead of borders and shadows

You can see an example and complete code here - Background instead of borders and shadows [popup]

Specify the size property for items

Tree avoids additional alignment operations when the size is known.

If all the items have the same size you can specify it once for the whole tree.

Use the constraction like this:

var TreeDef =
{
	"style"	 :
	{
		"size" : [200, 20]
	}
	...

Do not use styleover property

This feature requires additional layer.

Example - perfomance

You can see an example for tree with 100+ items here - Performance Example [popup]

Read more about CodeThatTree >>

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

[ Go Top ]

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