rem: leaf.className = "hop-tree-leaf"; 
context: function hop_make_tree_leaf( tree, content, value, icon ) {   var leaf = document.createElement( "table" );   var level = tree.level + 1;   leaf.setAttribute( "cellpadding", 0 );   leaf.setAttribute( "cellspacing", 0 );   leaf.setAttribute( "border", 0 );   leaf.setAttribute( "rules", "none" );   var tb = document.createElement( "tbody" );   var row = document.createElement( "tr" );    row.className = "hop-tree-row-unselected";   /* build the left vertical lines */   hop_push_vlines( tree.icondir, tree, row, level );   /* space */   var td1 = document.createElement( "td" );   td1.setAttribute( "nowrap", "nowrap" );   var join = document.createElement( "img" );   join.src = tree.icondir + "/join.png";   join.className = "hop-tree";   td1.appendChild( join );   row.appendChild( td1 );   /* add the folder icon */   var td2 = document.createElement( "td" );   var fimg = document.createElement( "img" );   fimg.src = icon;   fimg.setAttribute( "align", "absbottom" );   fimg.className = "hop-tree";   td2.onclick = function() {hop_tree_row_toggle_selected( tree, row, true );}   td2.appendChild( fimg );   row.appendChild( td2 );   row.value = value;   /* the content */   var e = document.createElement( "span" );   e.innerHTML= content;   td2.appendChild( e );   row.appendChild( td2 );   tb.appendChild( row );   leaf.appendChild( tb );   /* the attribute of the leaf */   leaf.className = "hop-tree-leaf";   leaf.parent = tree;   leaf.row = row;   leaf.last = true;   leaf.img_join = join;      /* append the leaf to the tree */   hop_tree_add( tree, leaf );      return leaf;}
meta: 4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/7d5a493226b1130b7a0d0610b05ddc0d3cb73e24/hop-tree.js/clean/share/hop-tree.js