thanks for your sage advice, weedpacket. i actually have posted to a javascript site. i'm still waiting for a response there. There are so many competent folks here i felt sure i might get some valuable feedback. sorry if it was inappropriate.
MarkR...your advice sounds good...i was just wondering this morning if that <script src="treedata.php"></script> approach might work. might get around to testing it later today.
yes, 400 bytes per node is a lot. the reason for this is because i have mouseover, mouseout, and mouseup events for each node that cause them to change in response to the mouse. when a user clicks one, it becomes the 'selected' node and I can add other buttons elsewhere like "new node" or "move node" or whatever rather than having redundant links next to each and every node like phpmyadmin does.
i am using a TABLE for each row. i tried using DIV or SPAN tags and CSS for indents, but the results were not reliable and didn't port well to different browsers so i switched to a 2-cell table with a transparent gif to effect the indents consistently.
i think i'll go check that javascript board now.