From: Daniel H. <da...@he...> - 2005-05-03 16:24:56
|
On May 3, 2005, at 10:39 AM, Mike Noyes wrote: > The problem is HTML doesn't provide a good way to represent threaded > discussions. I'm just a lurker, but I'm not sure I'm following the discussion (oh, the irony). Is the issue that the data is difficult to store and query in a nested view or that presenting the nested data via HTML a problem? Seems to me that if the data is stored with a key structure that allows the generation of a tree map, that just walking the map node-by-node and generating a flat list of <div/> tags is sufficient structural markup. Presentation-ally, classing each div with its nested-ness should make styling a cinch. And if you wanted to get freaky-creative, you could give each div an id attribute that represents its node and its parent (eg <div id="6_3"> represents the 6th entry whose parent is the 3rd), and then use DOM scripting to construct the view/presentation this way. -daniel |