CodeThatTree - Background Instead of Borders and Shadows Example

CodeThatTree - Background Instead of Borders and Shadows Example

var TreeDef = {
	"style" :
	{
		"imgdir" : "img/homedis.gif",
		"imgdiropen" : "img/home.gif",
		"itemoffset" : {
			"x" : "5", "y" : "3"
		},
		"css" : "test1tree",
		"fixwidth" : 210,
		"color" : "#00008B",
		"size" : [204, 24],
		"bgimg" : "img/bg2.gif",
		"fixheight" : 140
	},
	"styleover" : {
		"bgcolor" : "#D3E5FA", "css" : "test1tree"
	},
	"position" : {
		"absolute" : false, "pos" : [10, 10]
	},
	"items" : [
	{
		"text" : "Apartments for rent ",
		"style" : {
			"color" : "black"
		},
		"menu" :
		{
			"style" : {
				"color" : "#00008B"
			},
			"styleover" : {
				"bgcolor" : "#D3E5FA", "css" : "test1tree"
			},
			// Subitems array.
			"items" : [ 	{
				"text" : "New residens",
				"style" : {
					"imgitem" : "img/newuser.gif"
				}
			},
			{
				"text" : "Moved residents",
				"style" : {
					"imgitem" : "img/deluser.gif"
				}
			},
			{
				"text" : "Change an apartment",
				"style" : {
					"imgitem" : "img/edituser.gif"
				}
			},
			{
				"text" : "Families",
				"style" : {
					"imgitem" : "img/family.gif"
				}
			} ]
		}
	} ]
};