Specific CSS property to first level Node

Hi DHTML Team,

Please let me know if there is a way to apply some specific property to only first level of Tree.
For Example , I want to set Different font size of first level node level.

Similar to this function

       function fixImage(id) {
            switch (tree.getLevel(id)) {
                case 1:
                    tree.setItemImage2(id, 'folderClosed.gif', 'folderOpen.gif', 'folderClosed.gif');
                    break;
                default:
                    tree.setItemImage2(id, 'leaf.gif', 'folderClosed.gif', 'folderOpen.gif');
                    break;
            }
        }

Hi
There is no ready approach, but you can do it 2 ways manually:

  1. In tree structure put a parameter font-size:
  2. Iterate all the items you need and apply the next:
    tree.setItemStyle(‘lb_1’,‘font-size:30px’)