根据CSS款式来改动ExtJS:TreePanel的小标志

日期:2021-01-20 类型:科技新闻 

关键词:建站平台有哪些,如何建设网站,免费自助建站,如何建立一个网站,网站建站的

写在html<head>标识里边,

拷贝编码
编码以下:

<style type="text/css">
.x-tree-node-collapsed .x-tree-node-icon {
background:transparent url(web/css/images/default/tree/1.gif);
}
.x-tree-node-expanded .x-tree-node-icon {
background:transparent url(web/css/images/default/tree/drop-no.gif);
}
.x-tree-node-leaf .x-tree-node-icon{
background:transparent url(web/css/images/default/tree/2.gif);
}
</style>