add: table.setAttribute( "border", 0 ); 
context: function hop_make_tree( parent, id, level, svc, title, openp, cachedp, icondir, fo, fc , mu, ons, onus, value ) {   var tree = document.createElement( "div" );   /* safety check */   if( parent == null ) {      alert( "***INTERNAL ERROR: Illegal empty tree parent -- " + id );   }      /* the tree first line */   var table = document.createElement( "table" );      table.setAttribute( "cellpadding", 0 );   table.setAttribute( "cellspacing", 0 );   table.className = "hop-tree";      var tb = document.createElement( "tbody" );   var row = document.createElement( "tr" );   row.className = "hop-tree-row-unselected";      /* build the left vertical lines */   if( level > 0 ) {      hop_push_vlines( icondir, parent, row, level );   }   /* the plus/minus icon */   var td1 = document.createElement( "td" );   td1.setAttribute( "nowrap", "nowrap" );      var join = document.createElement( "img" );   join.className = "hop-tree-openclose";   join.src = icondir + "/plus.png";   join.onclick = function() { hop_toggle_tree( tree ) };      td1.appendChild( join );   row.appendChild( td1 );   /* add the folder icon */   var td2 = document.createElement( "td" );   var folder = document.createElement( "img" );      folder.src = fc;   folder.className = "hop-tree";      td2.setAttribute( "nowrap", "nowrap" );   td2.onclick = function() {hop_tree_row_toggle_selected( tree, row, true );}   td2.appendChild( folder );      /* the title */   var e = document.createElement( "span" );   e.className = "hop-tree-head";     e.innerHTML= title;   td2.appendChild( e );   row.appendChild( td2 );   row.value = value;   tb.appendChild( row );   table.appendChild( tb );   tree.appendChild( table );      /* the (empty) body */   var body = document.createElement( "div" );   node_style_set( body, "display", "none" );   body.className = "hop-tree-body";   tree.appendChild( body );   /* the attribute of the tree */   tree.className = "hop-tree";   tree.id = id;   tree.parent = parent;   tree.table = table;   tree.body = body;   tree.row = row;   tree.level = level;   tree.openp = false;   tree.cachedp = cachedp;   tree.populated = false;   tree.last = true;   tree.img_join = join;   tree.img_folder = folder;   tree.src_foldero = fo;   tree.src_folderc = fc;   tree.icondir = icondir;   tree.service = svc;   /* append the leaf to the tree */   if( level > 0 ) {      hop_tree_add( parent, tree );            tree.selections = [];      tree.multiselect = false;      tree.onselect = false;      tree.onunselect = false;   } else {      parent.appendChild( tree );         tree.selections = [];      tree.multiselect = mu;      tree.onselect = ons;      tree.onunselect = onus;   }   /* open the tree if required */   if( openp ) {      hop_tree_open( tree );   }      return tree;}
meta: 4636	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4636/ffddde00f310913083652ce4f995ea73d20795f7/hop-tree.js/clean/share/hop-tree.js