Html
    Css
    Js
a,a:visited {
	color:#333;
	text-decoration:none;
}
a:hover {
	color:#f60;
}
body,td {
	font:13px "Geneva","宋体","Arial","Helvetica",sans-serif;
}
ul,li {
	margin:0;
	padding:0;
	list-style:none;
}
h1,h2,h3,h4,h5,h6 {
	margin:0;
	padding:0;
}
h1 {
	padding:5px;
	color:#900;
	font:16px bold "Geneva","宋体","Arial","Helvetica",sans-serif;
}
h1 small {
	font-size:11px;
	font-weight:normal;
	color:#660;
}
.tree_out {
	width:200px;
}
.tree_1 .tree_tit a,.tree_1 .tree_tit a:visited,.tree_2 .tree_tit a,.tree_2 .tree_tit a:visited {
	margin-left:10px;
	padding-left:40px;
	color:#003;
	font-size:12px;
	display:block;
}
.tree_2 .tree_tit h3.Lst a {
	line-height:250%;
	background:#FF0000;
}
.tree_2 .tree_txt {
	display:none;
}
.tree_1 .tree_txt ul li {
	padding-left:65px;
	line-height:150%;
}
.tree_1 .tree_txt .num {
	color:#e00;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

js树形结构

更新时间:2020-06-05 09:52:53

0