Joined: 18 Mar 2005 Posts: 18 Location: Paris/France
Posted: Fri May 06, 2005 8:21 am Post subject: Customize Tree
Hi,
For large trees, not having colors make it difficult to read so I modified a bit one of the treeview js : $cacti_root/include
/treeview/ftiens4.js line 164 :
it was
docW = docW + this.desc + "</a>"
I modified it into
docW = docW + "<SPAN class='level"+this.level+"'>"+this.desc + "</span></a>"
Then I added the following styles in the main.css ($cacti_root/include)